projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
96fc40a
)
Don't do namespace cleanup if we're not in a new namespace.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sat, 21 Apr 2007 14:04:35 +0000 (14:04 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sat, 21 Apr 2007 14:04:35 +0000 (14:04 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2531
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
scripts/functions
patch
|
blob
|
history
diff --git
a/scripts/functions
b/scripts/functions
index
6415353
..
fe7521b
100644
(file)
--- a/
scripts/functions
+++ b/
scripts/functions
@@
-519,6
+519,7
@@
function isNamespaceCleanup
$_VSERVER_INFO - FEATURE namespace || return 1
cfgdir=$($_VSERVER_INFO "$1" CFGDIR) || return 1
+ isAvoidNamespace "$1" && return 1
test -e "$cfgdir"/namespace-cleanup && return 0
test -e "$cfgdir"/nonamespace-cleanup -o \
-e "$__CONFDIR"/.defaults/nonamespace-cleanup && return 1