diff --git a/run.sh b/run.sh index 95f8009..6882b95 100755 --- a/run.sh +++ b/run.sh @@ -1,7 +1,7 @@ #!/bin/bash tail -F /mysql_backup.log & -if [ "${INIT_BACKUP}" -gt "0" ]; then +if [ "${INIT_BACKUP:-0}" -gt "0" ]; then echo "=> Create a backup on the startup" /backup.sh elif [ -n "${INIT_RESTORE_LATEST}" ]; then