diff --git a/cluster/sge.enable.host.queue.sh b/cluster/sge.enable.host.queue.sh index db2df7e..f1f4f09 100755 --- a/cluster/sge.enable.host.queue.sh +++ b/cluster/sge.enable.host.queue.sh @@ -214,7 +214,7 @@ is_maco_status_ok() { # {{{ return_maco_status_ok="1" ## Check if Maco status file is present - if [ -f "${MACO_TMP_FILE}" ]; then + if [ -f "${MACO_STATUS_FILE}" ]; then debug_message "is_maco_status_ok − \ Maco status file (${MACO_STATUS_FILE}) exists." local_maco_status=$(grep --max-count=1 -- MacoStatus "${MACO_STATUS_FILE}" | cut --delimiter="=" --fields=2)