From e9bfd20022f3d770c68234259b56445d7dcba773 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 27 Feb 2014 19:49:08 +0100 Subject: [PATCH 1/1] bash syntax fix for restarts --- vinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5