Fixed wrong variable test

This commit is contained in:
Michael Mandl 2020-02-03 21:27:33 +01:00
parent a263b53dc3
commit 25dbd48e91

View file

@ -1,9 +1,9 @@
#!/usr/bin/env bash #!/usr/bin/env bash
if [[ -z "$DO_FTP_BACKUP" ]]; then if [[ -n "$DO_FTP_BACKUP" ]]; then
sh ftp_backup.sh sh ftp_backup.sh
fi fi
if [[ -z "$DO_MYSQL_BACUP" ]]; then if [[ -n "$DO_MYSQL_BACKUP" ]]; then
sh mysql_backup.sh sh mysql_backup.sh
fi fi