From: Matthijs Kooijman Date: Thu, 16 Apr 2009 13:30:11 +0000 (+0200) Subject: vserver: Some more vserver-hashify-all cleanups. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=61b1a0dad48afa04e388fa3a3eabf3f2440deedd;p=matthijs%2Fservers%2Fdrsnuggles.git vserver: Some more vserver-hashify-all cleanups. --- diff --git a/usr/local/bin/vserver-hashify-all b/usr/local/bin/vserver-hashify-all index 763cfbf..5df03c2 100755 --- a/usr/local/bin/vserver-hashify-all +++ b/usr/local/bin/vserver-hashify-all @@ -3,9 +3,9 @@ # The dir containing vserver configuration VSERVERS_CONF="/etc/vservers" -for VDIR in $VSERVERS_CONF/*; do +for VDIR in "$VSERVERS_CONF"/*; do NAME=`basename $VDIR` - # Check if its config dir exists + # Check if its a config dir if [ ! -d "$VDIR" ]; then continue; fi