From: marko Date: Mon, 5 Dec 2005 12:58:09 +0000 (+0000) Subject: Start imunes even if vimage utility is not installed. X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=52b04f79445a3aecf513a6524f81f4a6353baf6c;p=imunes.git Start imunes even if vimage utility is not installed. Bug found by: Submitted by: Requested by: Reviewed by: Approved by: Obtained from: --- diff --git a/imunes b/imunes index 4bbf7ad..9912dbb 100755 --- a/imunes +++ b/imunes @@ -35,7 +35,7 @@ # -if [ `id -ur` -eq 0 ]; then +if [ `id -ur` -eq 0 -a -x /sbin/vimage ]; then vimage=`vimage` if [ `expr ${vimage} != "default"` -ne 0 ]; then echo "Imunes cannot be started from virtual image!"