fix: Repaired check for Auto Updates

This commit is contained in:
Torben Brenner 2023-02-09 09:50:30 +01:00
parent 64095ac8dd
commit a1cd5a206e
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ else
hc_send log "$RES"
fi
if [ -z "${BACKUP_DIRECTORY}" ]; then
if [ -n "${BACKUP_DIRECTORY}" ]; then
if [ ! -d "$BACKUP_DIRECTORY" ]; then
message="Performing automatic maintenance: Attempting to create backup directory $BACKUP_DIRECTORY."
hc_send log "$message"