Test if MACO_TMP_FILE exists…
This commit is contained in:
parent
d8c34f6fcc
commit
e02b666049
|
@ -214,7 +214,7 @@ is_maco_status_ok() { # {{{
|
||||||
return_maco_status_ok="1"
|
return_maco_status_ok="1"
|
||||||
|
|
||||||
## Check if Maco status file is present
|
## 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 − \
|
debug_message "is_maco_status_ok − \
|
||||||
Maco status file (${MACO_STATUS_FILE}) exists."
|
Maco status file (${MACO_STATUS_FILE}) exists."
|
||||||
local_maco_status=$(grep --max-count=1 -- MacoStatus "${MACO_STATUS_FILE}" | cut --delimiter="=" --fields=2)
|
local_maco_status=$(grep --max-count=1 -- MacoStatus "${MACO_STATUS_FILE}" | cut --delimiter="=" --fields=2)
|
||||||
|
|
Loading…
Reference in New Issue