Return status should not depend on number of lines of $log_errfile file
Automatic MySQL Backup
Brought to you by:
wipe_out
Return status should depend on the sum of mysqldump results status and not on number of lines at $log_errfile. For a quick workaround, I'm removing Warning messages from $log_errfile and considering well all messages at $log_errfile are Warnings, this is what I changed to _rc6 release:
if [ -z "$(grep -v Warning $log_errfile)" ] ; then status=0; else status=1; fi