aboutsummaryrefslogtreecommitdiff
path: root/handlers/rsync.in
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-12-24 11:11:48 -0200
committerintrigeri <intrigeri@boum.org>2011-12-31 21:49:29 +0100
commit46000c030896cb8efe820e762d9d12ee663b5936 (patch)
tree5117810f6fd24d751276d042ef4aa61a2012ee55 /handlers/rsync.in
parentf351306d82a5a98f1827643deefc7ed69ce98716 (diff)
downloadbackupninja-46000c030896cb8efe820e762d9d12ee663b5936.tar.gz
backupninja-46000c030896cb8efe820e762d9d12ee663b5936.tar.bz2
Make numericids defaults to null (fixes #3691)
Diffstat (limited to 'handlers/rsync.in')
-rw-r--r--handlers/rsync.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/handlers/rsync.in b/handlers/rsync.in
index 6c772e1..cc255a3 100644
--- a/handlers/rsync.in
+++ b/handlers/rsync.in
@@ -887,7 +887,7 @@ function set_filelist {
function set_rsync_options {
- if [ ! -z "$numericids" ]; then
+ if [ "$numericids" != "0" ]; then
rsync_options="$rsync_options --numeric-ids"
fi