From caf3e97d5c913656e41277fc82f181e9d392ed00 Mon Sep 17 00:00:00 2001 From: dpeca Date: Sat, 27 Apr 2019 16:04:49 +0200 Subject: [PATCH] Correcting $ALLOW_BACKUP_ANYTIME --- func/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/func/main.sh b/func/main.sh index 6a472e1f..3e7b634b 100644 --- a/func/main.sh +++ b/func/main.sh @@ -966,7 +966,7 @@ wait_for_backup_if_it_is_not_time_for_backup() { done # block backup if current hour is after 6 AM - if [ -z "ALLOW_BACKUP_ANYTIME" ]; then + if [ -z "$ALLOW_BACKUP_ANYTIME" ]; then WAIT_LOOP_ENTERED=0 hour=$(date +"%H"); while [ "$hour" -gt "6" ] || [ "$hour" -lt "1" ]; do