Test if MACO_TMP_FILE exists…

This commit is contained in:
Jeremy Gardais 2021-01-06 13:35:52 +01:00
parent d8c34f6fcc
commit e02b666049
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 1 deletions

View File

@ -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)