Syntax fix / Message for more verbose output

This commit is contained in:
gospodar 2023-02-10 21:46:46 +01:00
parent 8f72e7ff98
commit 46dc8c171c

View File

@ -164,7 +164,7 @@ function dockerbackup {
} }
function runbackup { function runbackup {
if [ "enabled" = true] if [ "enabled" = true ]
then then
# step 1 : create directory # step 1 : create directory
makedir makedir
@ -182,6 +182,8 @@ function runbackup {
# push data to server # push data to server
push push
echo "Voila, enjoy the rest of the day" >&2 echo "Voila, enjoy the rest of the day" >&2
else
echo "Backup is disabled in the configuration" >&2
fi fi
} }