Syntax fix / Message for more verbose output
This commit is contained in:
parent
8f72e7ff98
commit
46dc8c171c
4
main.sh
4
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user