From e02b666049372aabca1f479735f71d3760fa3233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gardais=20J=C3=A9r=C3=A9my?= Date: Wed, 6 Jan 2021 13:35:52 +0100 Subject: [PATCH] =?UTF-8?q?Test=20if=20MACO=5FTMP=5FFILE=20exists=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cluster/sge.enable.host.queue.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)