]> git.entuzijast.net Git - imunes.git/commitdiff
Start imunes even if vimage utility is not installed.
authormarko <marko>
Mon, 5 Dec 2005 12:58:09 +0000 (12:58 +0000)
committermarko <marko>
Mon, 5 Dec 2005 12:58:09 +0000 (12:58 +0000)
Bug found by:
Submitted by:
Requested by:
Reviewed by:
Approved by:
Obtained from:

imunes

diff --git a/imunes b/imunes
index 4bbf7adaa9e659827be73cec7b90ff4a33b7763b..9912dbb898bde423e2a9d94f42bc4b6c65567312 100755 (executable)
--- 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!"