From ec7d9e4583d80e65163061132346b2db4907b7c7 Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Thu, 19 Feb 2009 02:22:13 +0000 Subject: Do not depend the vmchooser on vmware plugin. git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2617 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/vmchooser/files/run-virt.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'os-plugins/plugins/vmchooser/files/run-virt.sh') diff --git a/os-plugins/plugins/vmchooser/files/run-virt.sh b/os-plugins/plugins/vmchooser/files/run-virt.sh index 7cb8b36b..205179e7 100644 --- a/os-plugins/plugins/vmchooser/files/run-virt.sh +++ b/os-plugins/plugins/vmchooser/files/run-virt.sh @@ -26,7 +26,7 @@ # test if the xml path/file is valid (gotten via commandline first parameter) xml=$1 -[ -e "${xml}" ] || { echo -e "\n\tNo XML file given!\n" && exit 1; } +[ -e "${xml}" ] || { echo -e "\n\tNo XML file given!\n"; exit 1; } # path to the xml file(just take the path to the xml file) imagepath=${xml%/*} @@ -37,6 +37,7 @@ imagepath=${xml%/*} # file name of the image imagename=$(grep -i "