From a1cd5a206e402922a22f037c4bedaa1488642150 Mon Sep 17 00:00:00 2001 From: Torben Brenner Date: Thu, 9 Feb 2023 09:50:30 +0100 Subject: [PATCH] fix: Repaired check for Auto Updates --- lib/update-bridgehead.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/update-bridgehead.sh b/lib/update-bridgehead.sh index ab39cca..c661595 100755 --- a/lib/update-bridgehead.sh +++ b/lib/update-bridgehead.sh @@ -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"