From: micah Date: Wed, 5 Dec 2007 20:41:54 +0000 (+0000) Subject: fixed ignore_version default value X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=bd56b8fffadf1d099321bb5d95d6161fbf85585e;p=matthijs%2Fupstream%2Fbackupninja.git fixed ignore_version default value git-svn-id: http://code.autistici.org/svn/backupninja/trunk@543 758a04ac-41e6-0310-8a23-8373a73cc35d --- diff --git a/ChangeLog b/ChangeLog index b1583eb..42fc43c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ version 0.9.6 -- unreleased 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 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`