Fixed wrong variable test

pull/2/head
mandlm 2020-02-03 21:27:33 +01:00
parent a263b53dc3
commit 25dbd48e91
1 changed files with 2 additions and 2 deletions

View File

@ -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