From 69c048e18d1630eea2d5c55f7c5acbdcacba846e Mon Sep 17 00:00:00 2001 From: Daniel Hokka Zakrisson Date: Fri, 1 Dec 2006 21:10:28 +0000 Subject: [PATCH] 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 --- scripts/vserver.functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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%/*}" -- 1.8.1.5