From 25dbd48e918af18fdcf4a52dc886214a4f8c3bbc Mon Sep 17 00:00:00 2001 From: Michael Mandl Date: Mon, 3 Feb 2020 21:27:33 +0100 Subject: [PATCH] Fixed wrong variable test --- scripts/prefilebackup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/prefilebackup b/scripts/prefilebackup index f9c7264..f71bb20 100644 --- a/scripts/prefilebackup +++ b/scripts/prefilebackup @@ -1,9 +1,9 @@ #!/usr/bin/env bash -if [[ -z "$DO_FTP_BACKUP" ]]; then +if [[ -n "$DO_FTP_BACKUP" ]]; then sh ftp_backup.sh fi -if [[ -z "$DO_MYSQL_BACUP" ]]; then +if [[ -n "$DO_MYSQL_BACKUP" ]]; then sh mysql_backup.sh fi