From cb1c61615d7c1b46765ec4532034eb50f4bdd079 Mon Sep 17 00:00:00 2001 From: Paul McGougan Date: Tue, 2 Jul 2024 14:34:05 +1000 Subject: [PATCH] Fix issue with backup of local files Backup of local files would not proceed as test sense was inverted. --- automysqlbackup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automysqlbackup b/automysqlbackup index 36454cc..7cb3857 100755 --- a/automysqlbackup +++ b/automysqlbackup @@ -462,7 +462,7 @@ error_handler () { # @return: true in case of dry-run, otherwise the return value of tar -cvf # @deps: load_default_config backup_local_files () { - if ((! ${#CONFIG_backup_local_files[@]})) ; then + if ((${#CONFIG_backup_local_files[@]})) ; then if (( $CONFIG_dryrun )); then case "${CONFIG_mysql_dump_compression}" in 'gzip')