From e684eab8782c1715f654d49602f275c46152b97c Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 10 Sep 2013 10:50:23 +0200 Subject: [PATCH] nfs/nfsroot-cleanup.sh: silently try to umount rpc_pipefs --- modules.d/95nfs/nfsroot-cleanup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules.d/95nfs/nfsroot-cleanup.sh b/modules.d/95nfs/nfsroot-cleanup.sh index 586749c2..624c7a7a 100755 --- a/modules.d/95nfs/nfsroot-cleanup.sh +++ b/modules.d/95nfs/nfsroot-cleanup.sh @@ -24,9 +24,9 @@ if incol2 /proc/mounts /var/lib/nfs/rpc_pipefs; then if [ -d $NEWROOT/$rpcpipefspath ]; then # mount --move does not seem to work??? mount --bind /var/lib/nfs/rpc_pipefs $NEWROOT/$rpcpipefspath - umount /var/lib/nfs/rpc_pipefs + umount /var/lib/nfs/rpc_pipefs 2>/dev/null else - umount /var/lib/nfs/rpc_pipefs + umount /var/lib/nfs/rpc_pipefs 2>/dev/null fi fi