From 7a9381d9fbc32f829c22d64faec3bfe4557f2c25 Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Tue, 8 Jul 2008 15:51:45 +0000 Subject: [PATCH] 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 --- scripts/vserver.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 1.8.1.5