projects
/
matthijs
/
servers
/
drsnuggles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3dc1252
)
vserver: Some more vserver-hashify-all cleanups.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 16 Apr 2009 13:30:11 +0000
(15:30 +0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Thu, 16 Apr 2009 13:30:11 +0000
(15:30 +0200)
usr/local/bin/vserver-hashify-all
patch
|
blob
|
history
diff --git
a/usr/local/bin/vserver-hashify-all
b/usr/local/bin/vserver-hashify-all
index 763cfbfb489e25142c7171c30f72eda57a47077f..5df03c256d99b8ce5ecb86a094233a9b388f5e4e 100755
(executable)
--- 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