From a0846a7850b2d7aa91996c94c7916ec46d9e8a85 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/branches/r1-2@1051 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/CHANGELOG | 3 +++ rdiff-backup/rdiff_backup/Main.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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) -- cgit v1.2.1