From a3942a492f381d3bb54c7f46366ec6766d5ccc8e Mon Sep 17 00:00:00 2001 From: James Tufarelli <8152401+Minituff@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:13:28 -0700 Subject: [PATCH] Fix BACKUP_ON_START (#57) --- pkg/entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/entry.sh b/pkg/entry.sh index c7f06b59..b3782d45 100644 --- a/pkg/entry.sh +++ b/pkg/entry.sh @@ -144,7 +144,7 @@ if [ ! -z "$REPORT_FILE_LOG_LEVEL" ]; then logThis "REPORT_FILE_LOG_LEVEL: $REPORT_FILE_LOG_LEVEL" "DEBUG" "init" fi -if [ ! -z "$BACKUP_ON_START" ]; then +if [ "$BACKUP_ON_START" = "true" ]; then logThis "BACKUP_ON_START: $BACKUP_ON_START" "DEBUG" "init" bash ./app/backup.sh fi