fix: Repaired check for Auto Updates
This commit is contained in:
parent
64095ac8dd
commit
a1cd5a206e
|
@ -103,7 +103,7 @@ else
|
||||||
hc_send log "$RES"
|
hc_send log "$RES"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${BACKUP_DIRECTORY}" ]; then
|
if [ -n "${BACKUP_DIRECTORY}" ]; then
|
||||||
if [ ! -d "$BACKUP_DIRECTORY" ]; then
|
if [ ! -d "$BACKUP_DIRECTORY" ]; then
|
||||||
message="Performing automatic maintenance: Attempting to create backup directory $BACKUP_DIRECTORY."
|
message="Performing automatic maintenance: Attempting to create backup directory $BACKUP_DIRECTORY."
|
||||||
hc_send log "$message"
|
hc_send log "$message"
|
||||||
|
|
Loading…
Reference in New Issue