From aeadfd5c73158883aad55f527b19ac31ee4f9415 Mon Sep 17 00:00:00 2001 From: Ray Walker Date: Sun, 24 Jul 2022 11:56:28 +1000 Subject: [PATCH] fix(automysqlbackup): Fix quotes --- automysqlbackup/bin/automysqlbackup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automysqlbackup/bin/automysqlbackup b/automysqlbackup/bin/automysqlbackup index 67f6c9b..4b5c40d 100644 --- a/automysqlbackup/bin/automysqlbackup +++ b/automysqlbackup/bin/automysqlbackup @@ -353,9 +353,9 @@ dbdump() { fi if [ "$USERNAME" = "" -o -z "$PASSWORD" ]; then - mysqldump --defaults-file=/etc/mysql/debian.cnf --column-statistics=0 "$NEWOPT" "$1" >"$2" + mysqldump --defaults-file=/etc/mysql/debian.cnf --column-statistics=0 $NEWOPT $1 >"$2" else - mysqldump --column-statistics=0 --user="$USERNAME" --password="$PASSWORD" --host="$DBHOST" "$NEWOPT" "$1" >"$2" + mysqldump --column-statistics=0 --user="$USERNAME" --password="$PASSWORD" --host="$DBHOST" $NEWOPT $1 >"$2" fi return 0 }