X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fvserver.functions;h=260bd6e474637fca92969f25c1d3da00b3056122;hb=69c048e18d1630eea2d5c55f7c5acbdcacba846e;hp=455dc1f89840d6a0b8ff85bca71431368d5a3e5f;hpb=7b2e4406749b07778682e12434667c67c12f8243;p=util-vserver.git diff --git a/scripts/vserver.functions b/scripts/vserver.functions index 455dc1f..260bd6e 100644 --- a/scripts/vserver.functions +++ b/scripts/vserver.functions @@ -250,7 +250,7 @@ function _generateInitOptions CHCONTEXT_INIT_OPTS=() - test -n "$INITSTYLE" || \ + test x"$INITSTYLE" = xrescue || \ getFileValue INITSTYLE "$cfgdir"/style getFileValue RUNLEVEL_START "$cfgdir"/runlevel getFileValue RUNLEVEL_START "$cfgdir"/runlevel.start @@ -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%/*}"