Add cwd to the list of paths to exclude from namespace cleanup.
[util-vserver.git] / 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%/*}"