summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2009-03-31 17:43:08 +0000
committerowsla <owsla@2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109>2009-03-31 17:43:08 +0000
commita0846a7850b2d7aa91996c94c7916ec46d9e8a85 (patch)
treebd645ffc60ce94c4661ed457c1384b9d43235490
parent1e215716f580d40551096df49abb822d34afe031 (diff)
downloadrdiff-backup-a0846a7850b2d7aa91996c94c7916ec46d9e8a85.tar.gz
Don't print "Fatal Error" if --check-destination-dir completed successfully.
git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r1-2@1051 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
-rw-r--r--rdiff-backup/CHANGELOG3
-rw-r--r--rdiff-backup/rdiff_backup/Main.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG
index 1ccb75b..2cc6181 100644
--- a/rdiff-backup/CHANGELOG
+++ b/rdiff-backup/CHANGELOG
@@ -1,6 +1,9 @@
New in v1.2.9 (????/??/??)
---------------------------
+Don't print "Fatal Error" if --check-destination-dir completed successfully.
+Thanks to Serge Zub for the suggestion. (Andrew Ferguson)
+
Allow --test-server option to be combined with --restrict. Thanks to Nick
Moffitt for reporting the error. Closes Ubuntu bug #349072. (Andrew Ferguson)
diff --git a/rdiff-backup/rdiff_backup/Main.py b/rdiff-backup/rdiff_backup/Main.py
index fee6e75..aa63cf4 100644
--- a/rdiff-backup/rdiff_backup/Main.py
+++ b/rdiff-backup/rdiff_backup/Main.py
@@ -867,7 +867,7 @@ def CheckDest(dest_rp):
Log.FatalError("No destination dir found at %s" % (dest_rp.path,))
elif need_check == 0:
Log.FatalError("Destination dir %s does not need checking" %
- (dest_rp.path,), errlevel = 0)
+ (dest_rp.path,), no_fatal_message = 1, errlevel = 0)
init_user_group_mapping(dest_rp.conn)
dest_rp.conn.regress.Regress(dest_rp)