From: Sven Hoexter Date: Sun, 21 Apr 2013 11:27:10 +0000 (+0200) Subject: - rename clean_log() -> cleanup() X-Git-Url: https://git.sven.stormbind.net/?a=commitdiff_plain;h=934060e0ca4f05c538dbe7e8856d5e0833d57be4;hp=934060e0ca4f05c538dbe7e8856d5e0833d57be4;p=sven%2Fscripts.git - rename clean_log() -> cleanup() - Use cleanup() as general purpose cleanup function which also writes mails in case of errors and always removes the lockfile. - Set ERRSTAT = 10 in case the mysql backup isn't finished and report subsequently as a failed backup. - Add .log suffix for the logfile. ---