From 60013293f2a329c6b53cfb1fbe3a0aea704c4b8c Mon Sep 17 00:00:00 2001 From: Dirk von Suchodoletz Date: Fri, 20 Feb 2009 18:16:09 +0000 Subject: Small fixes to run-virt.sh script ... git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2624 95ad53e4-c205-0410-b2fa-d234c58c8868 --- os-plugins/plugins/vmchooser/files/run-virt.sh | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'os-plugins/plugins/vmchooser/files') diff --git a/os-plugins/plugins/vmchooser/files/run-virt.sh b/os-plugins/plugins/vmchooser/files/run-virt.sh index 205179e7..c195e7c1 100644 --- a/os-plugins/plugins/vmchooser/files/run-virt.sh +++ b/os-plugins/plugins/vmchooser/files/run-virt.sh @@ -22,7 +22,8 @@ ############################################################################### # check for running in graphical environment otherwise no much use here -[ -z "$DISPLAY" ] && echo -e "\n\tStart only within a desktop!\n" && exit 1 +[ -z "$DISPLAY" ] && echo -e "\n\tStart only within a graphical desktop!\n" \ + && exit 1 # test if the xml path/file is valid (gotten via commandline first parameter) xml=$1 @@ -37,7 +38,7 @@ imagepath=${xml%/*} # file name of the image imagename=$(grep -i "