aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-29 18:31:58 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-29 18:31:58 -0200
commit81068a9d53d1254aa421e5905813fdfc83fde905 (patch)
tree220fdfc9f100da2694ed2e0e01b4318dfa0e7365 /files
parent3fe78a5320b30f16b9abbab568a7952bf0f6fe1a (diff)
downloadpuppet-virtual-81068a9d53d1254aa421e5905813fdfc83fde905.tar.gz
puppet-virtual-81068a9d53d1254aa421e5905813fdfc83fde905.tar.bz2
Minor fix
Diffstat (limited to 'files')
-rw-r--r--files/vserver/build_vserver4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/vserver/build_vserver b/files/vserver/build_vserver
index 9f69c7f..543af12 100644
--- a/files/vserver/build_vserver
+++ b/files/vserver/build_vserver
@@ -7,11 +7,11 @@ DEBOOTSTRAP_MIRROR="$4"
VHOSTNAME="$5"
VINTERFACE="$6"
-if [ $VHOSTNAME != "none" ]; then
+if [ "$VHOSTNAME" != "none" ]; then
VHOSTNAME="--hostname $VHOSTNAME"
fi
-if [ ! -z $VINTERFACE]; then
+if [ ! -z "$VINTERFACE" ]; then
VINTERFACE="--interface $VINTERFACE"
fi