From: Daniel Hokka Zakrisson Date: Fri, 1 Dec 2006 21:10:28 +0000 (+0000) Subject: Add cwd to the list of paths to exclude from namespace cleanup. X-Git-Tag: release-0.30.212~11 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69c048e18d1630eea2d5c55f7c5acbdcacba846e;p=util-vserver.git Add cwd to the list of paths to exclude from namespace cleanup. git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2412 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- diff --git a/scripts/vserver.functions b/scripts/vserver.functions index 6d25458..260bd6e 100644 --- a/scripts/vserver.functions +++ b/scripts/vserver.functions @@ -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%/*}"