fixed ignore_version default value
authorMicah Anderson <micah@riseup.net>
Wed, 5 Dec 2007 20:41:54 +0000 (20:41 +0000)
committerMicah Anderson <micah@riseup.net>
Wed, 5 Dec 2007 20:41:54 +0000 (20:41 +0000)
ChangeLog
handlers/rdiff.in

index b1583eb94095724d42bd83fcee4823b4fca66105..42fc43c95adefc62d63ac6f241d3d2f8af943730 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,8 @@ version 0.9.6 -- unreleased
     backupninja changes
 
     handler changes
     backupninja changes
 
     handler changes
+       rdiff: 
+        . Fixed ignore_version default value missing
        wget:
         . New handler from rhatto designed to incrementally pull content from
           a website to a local folder, based on the rsync handler
        wget:
         . New handler from rhatto designed to incrementally pull content from
           a website to a local folder, based on the rsync handler
index 62c5a2803a10eab6a0b2fe96e6220aa6c8188257..bb704c5fddd11f169d6825bedca8e3a86bf87f11 100644 (file)
@@ -77,6 +77,7 @@ getconf options
 getconf testconnect yes
 getconf nicelevel 0
 getconf bwlimit
 getconf testconnect yes
 getconf nicelevel 0
 getconf bwlimit
+getconf ignore_version no
 
 setsection source
 getconf type; sourcetype=$type
 
 setsection source
 getconf type; sourcetype=$type
@@ -127,7 +128,7 @@ if [ "$testconnect" = "yes" ] || [ "${test}" -eq 1 ]; then
        test_connection $destuser $desthost
 fi
 
        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`
        # see that rdiff-backup has the same version at the source and destination
        sourceversion=`get_version $sourceuser $sourcehost`
        destversion=`get_version $destuser $desthost`