From b7691a0793c3989cc05481d6fb82ad077f1a2249 Mon Sep 17 00:00:00 2001 From: owsla Date: Tue, 31 Mar 2009 17:43:08 +0000 Subject: Don't print "Fatal Error" if --check-destination-dir completed successfully. git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@1051 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/CHANGELOG | 3 +++ rdiff-backup/rdiff_backup/Main.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'rdiff-backup') diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG index 7a654c5..0b746f5 100644 --- a/rdiff-backup/CHANGELOG +++ b/rdiff-backup/CHANGELOG @@ -1,6 +1,9 @@ New in v1.3.4 (????/??/??) --------------------------- +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 a8bc1dc..ef712ed 100644 --- a/rdiff-backup/rdiff_backup/Main.py +++ b/rdiff-backup/rdiff_backup/Main.py @@ -883,7 +883,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) -- cgit v1.2.1