X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=usr%2Flocal%2Fbin%2Fvserver-hashify-all;h=5df03c256d99b8ce5ecb86a094233a9b388f5e4e;hb=61b1a0dad48afa04e388fa3a3eabf3f2440deedd;hp=763cfbfb489e25142c7171c30f72eda57a47077f;hpb=3dc12524a07c24998f52c2a58be15b0526326bcb;p=matthijs%2Fservers%2Fdrsnuggles.git 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