From: Daniel Hokka Zakrisson Date: Thu, 29 Sep 2011 07:54:12 +0000 (+0200) Subject: Not python... yet. X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c46a6c6428e662683d0e9161de5f37f0d5b1e242;p=util-vserver.git Not python... yet. --- diff --git a/scripts/vserver.functions b/scripts/vserver.functions index afc337a..e825271 100644 --- 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 ;;