diff options
Diffstat (limited to 'os-plugins/plugins/vmgrid')
| -rw-r--r-- | os-plugins/plugins/vmgrid/files/run-vmgrid.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os-plugins/plugins/vmgrid/files/run-vmgrid.sh b/os-plugins/plugins/vmgrid/files/run-vmgrid.sh index 386695bf..4a09f237 100644 --- a/os-plugins/plugins/vmgrid/files/run-vmgrid.sh +++ b/os-plugins/plugins/vmgrid/files/run-vmgrid.sh @@ -49,6 +49,7 @@ PLUGINCONFVMGRID=${PLUGINCONFROOT}/vmgrid ################################################################################ # check if forcemem set +# TODO: klappt noch nicht immer :( if [ "$1" = "--forcemem" ]; then forcemem=$2 xmlfile=${3##*/} @@ -85,7 +86,7 @@ if [ $runningvms -le 0 ]; then exit 1 fi # check if vmchooser plugin installed -if [ ${vmchooser_active} = "1" 2>/dev/null] && [ ${runningvms} -gt 1 ]; then +if [ ${vmchooser_active} -eq 1 2>/dev/null ] && [ ${runningvms} -gt 1 ]; then # only allow one instance of vmgrid writelog "Already 1 VMs running and vmchooser plugin is active." writelog "Can't start ${xmlfile}, exiting!" @@ -109,7 +110,6 @@ fi ################################################################################ cat <<EOL - __ __ .----.--.--.-----.___.--.--.--------.-----.----.|__|.--| | | _| | | |___| | | | _ | _|| || _ | |
