From: martin f. krafft Date: Thu, 27 Feb 2014 18:49:08 +0000 (+0100) Subject: bash syntax fix for restarts X-Git-Url: https://git.madduck.net/code/vinst.git/commitdiff_plain/e9bfd20022f3d770c68234259b56445d7dcba773?ds=inline bash syntax fix for restarts --- diff --git a/vinst b/vinst index f5eb790..6b6ca5d 100755 --- a/vinst +++ b/vinst @@ -201,6 +201,6 @@ virt-install --connect=$QEMU_URI \ virsh --connect=$QEMU_URI console $HOSTNAME -if [ $RESTART = 1]; then +if [ $RESTART = 1 ]; then virsh --connect=$QEMU_URI "start $HOSTNAME; console $HOSTNAME" fi