diff --git a/automysqlbackup.sh b/automysqlbackup.sh index 4347332..0b48aae 100755 --- a/automysqlbackup.sh +++ b/automysqlbackup.sh @@ -319,7 +319,7 @@ if [ "${EVENTS}" = "yes" ]; fi # Add --max_allowed_packet=... mysqldump option to ${OPT} -if [ "${MAX_ALLOWED_PACKET}" ] +if [ "${MAX_ALLOWED_PACKET}" ]; then OPT="${OPT} --max_allowed_packet=${MAX_ALLOWED_PACKET}" fi