Skip to content
Snippets Groups Projects
Commit e1de0316 authored by nimrod's avatar nimrod
Browse files

- Fix issue found by Shellcheck.

parent 02cc8a74
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@ if databases="$(mysql --defaults-file=/etc/mysql/mysqldump.cnf \
--execute 'show databases;' | grep -vx $filter)"
then
mysqldump --defaults-file=/etc/mysql/mysqldump.cnf
--databases $databases || \
--databases "$databases" || \
echo "MySQL backup: Failed to backup."
else
echo "MySQL backup: No databases to backup."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment