projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
710b574
)
Not python... yet.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Thu, 29 Sep 2011 07:54:12 +0000 (09:54 +0200)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Thu, 29 Sep 2011 07:54:12 +0000 (09:54 +0200)
scripts/vserver.functions
patch
|
blob
|
history
diff --git
a/scripts/vserver.functions
b/scripts/vserver.functions
index
afc337a
..
e825271
100644
(file)
--- a/
scripts/vserver.functions
+++ b/
scripts/vserver.functions
@@
-845,7
+845,7
@@
function prepareInit
sysv)
local -a dirs=( $($_CHROOT_SH realpath /var/run /var/lock || :) )
local dir
- for dir in dirs; do
+ for dir in "${dirs[@]}"; do
$_FIND $dir ! -type d -print0 | xargs -0r $_CHROOT_SH rm
done
;;