From 46dc8c171c7a1e8cd79d4b0f4268d604ec725eed Mon Sep 17 00:00:00 2001 From: gospodar Date: Fri, 10 Feb 2023 21:46:46 +0100 Subject: [PATCH] Syntax fix / Message for more verbose output --- main.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.sh b/main.sh index 39dc121..e6614ba 100644 --- a/main.sh +++ b/main.sh @@ -164,7 +164,7 @@ function dockerbackup { } function runbackup { - if [ "enabled" = true] + if [ "enabled" = true ] then # step 1 : create directory makedir @@ -182,6 +182,8 @@ function runbackup { # push data to server push echo "Voila, enjoy the rest of the day" >&2 + else + echo "Backup is disabled in the configuration" >&2 fi }