From 61b1a0dad48afa04e388fa3a3eabf3f2440deedd Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Thu, 16 Apr 2009 15:30:11 +0200 Subject: [PATCH] vserver: Some more vserver-hashify-all cleanups. --- usr/local/bin/vserver-hashify-all | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.30.2