aboutsummaryrefslogtreecommitdiff
path: root/handlers/mysql.in
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-20 12:07:27 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-10-26 13:18:19 -0200
commitb8b8b46fbaf9acbdc769d311a064ab89bb670ef7 (patch)
treefbf9251b4cc61da9a92898be8d86f85f11df3bfd /handlers/mysql.in
parent0cb6fcd647f648b47a9afd190ee865e70236ded7 (diff)
downloadbackupninja-b8b8b46fbaf9acbdc769d311a064ab89bb670ef7.tar.gz
backupninja-b8b8b46fbaf9acbdc769d311a064ab89bb670ef7.tar.bz2
Solve quoting issue with "su" (debian #683731) (upstream #4019)bug/4019
A fix for debian #677410 on commit 29dcdbae introduces a new issue on wheezy machines where some rsync_options gets out of the rsync command quotes when invoked by su. As reported, running backupninja through `bash -x` shows that the `--delete` option from the rsync command is not included in the single quote for the `su -c` command: nice -n 0 su -c '/usr/bin/rsync -av' --delete '--recursive --delete-excluded //home/ /tmp/test//home//' This patch attempt to solve that issue by using the intermediary variable $command.
Diffstat (limited to 'handlers/mysql.in')
0 files changed, 0 insertions, 0 deletions