Add cwd to the list of paths to exclude from namespace cleanup.
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 1 Dec 2006 21:10:28 +0000 (21:10 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Fri, 1 Dec 2006 21:10:28 +0000 (21:10 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2412 94cd875c-1c1d-0410-91d2-eb244daf1a30

scripts/vserver.functions

index 6d25458..260bd6e 100644 (file)
@@ -1199,7 +1199,7 @@ function _namespaceCleanup
 
     # these are things that have to be accessible post-cleanup
     for tmp in "$root" "$__SBINDIR" "$__PKGLIBDIR" "$vdir" \
-       "$__PKGSTATEDIR" "${skip[@]}"; do
+       "$__PKGSTATEDIR" "`pwd`" "${skip[@]}"; do
        while test -n "$tmp"; do
            list=( "${list[@]}" "$tmp" )
            tmp="${tmp%/*}"