]> git.tuebingen.mpg.de Git - dss.git/commit - dss.c
rsync: Remove hardcoded --quiet option.
authorAndre Noll <maan@systemlinux.org>
Thu, 20 Dec 2012 13:38:41 +0000 (14:38 +0100)
committerAndre Noll <maan@systemlinux.org>
Tue, 22 Jan 2013 09:08:06 +0000 (10:08 +0100)
commitd880112b1483b45f1e7db632cb09bbe05fb2df86
treeabe98f4ac46a127e6139b7105c67b6a7207705db
parentddd930000a7015369135258993be63c1a288fbf9
rsync: Remove hardcoded --quiet option.

When running in daemon mode, the stdout and stderr stream of dss and
all its child processes are redirected to /dev/null. In particular any
output from the rsync process is discarded. Therefore, whenever a new
snapshot is created, dss currently passes --quiet to the underlying
rsync command, along with --archive and --delete.

However, as was pointed out by Sebastian Schultheiß, if the rsync
command fails for unknown reasons, the --quiet option complicates
debugging for the questionable benefit of saving the I/O for a few
writes to /dev/null.

This patch removes the --quiet option.
dss.c