aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2007-12-05 20:41:54 +0000
committerMicah Anderson <micah@riseup.net>2007-12-05 20:41:54 +0000
commitc0140aea9722188f761e6d2d8820f2f72bf4fc58 (patch)
tree922aaf32f92cc1d0e8bf6435d6db3492be0954df /handlers
parent4af05505849d1fa2509899c52af7fb1c69c4897b (diff)
downloadbackupninja-c0140aea9722188f761e6d2d8820f2f72bf4fc58.tar.gz
backupninja-c0140aea9722188f761e6d2d8820f2f72bf4fc58.tar.bz2
fixed ignore_version default value
Diffstat (limited to 'handlers')
-rw-r--r--handlers/rdiff.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/handlers/rdiff.in b/handlers/rdiff.in
index 62c5a28..bb704c5 100644
--- a/handlers/rdiff.in
+++ b/handlers/rdiff.in
@@ -77,6 +77,7 @@ getconf options
getconf testconnect yes
getconf nicelevel 0
getconf bwlimit
+getconf ignore_version no
setsection source
getconf type; sourcetype=$type
@@ -127,7 +128,7 @@ if [ "$testconnect" = "yes" ] || [ "${test}" -eq 1 ]; then
test_connection $destuser $desthost
fi
-if [ $ignore_version != "yes" ]; then
+if [ "$ignore_version" != "yes" ]; then
# see that rdiff-backup has the same version at the source and destination
sourceversion=`get_version $sourceuser $sourcehost`
destversion=`get_version $destuser $desthost`