Fixed wrong variable test
This commit is contained in:
parent
a263b53dc3
commit
25dbd48e91
@ -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
|
||||
|
Reference in New Issue
Block a user