fradelg / docker-mysql-cron-backup

Docker image to backup all your databases periodically
Apache License 2.0
290 stars 111 forks source link

[Bugfix] run.sh - Missing default value for INIT_BACKUP #91

Closed g-nardiello closed 1 year ago

g-nardiello commented 1 year ago

I found an error on my testing environment, using the image built from master branch.

On line 4 of run.sh it compares INIT_BACKUP with a numeric value, so starting image without setting INIT_BACKUP raises the following error /run.sh: line 4: [: : integer expression expected

Fixed setting a default value into run.sh for INIT_BACKUP variable on line 4

fradelg commented 1 year ago

thanks!