From: Daniel Hokka Zakrisson Date: Tue, 8 Jul 2008 15:51:45 +0000 (+0000) Subject: Correctly unmount NFS and other "special" filesystems. X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a9381d9fbc32f829c22d64faec3bfe4557f2c25;p=util-vserver.git Correctly unmount NFS and other "special" filesystems. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2730 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/scripts/vserver.functions b/scripts/vserver.functions index a11cd90..0d02105 100644 --- a/scripts/vserver.functions +++ b/scripts/vserver.functions @@ -1352,7 +1352,7 @@ function _namespaceCleanup done < /proc/mounts # separate loop to avoid races while reading /proc/mounts for i in "${list_umount[@]}"; do - $_UMOUNT -l -n "$i" + $_UMOUNT -l -n -i "$i" done }