Commit add2a2f3 authored by owsla's avatar owsla

Don't print "Fatal Error" if --check-destination-dir completed successfully.


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@1051 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 01674680
New in v1.2.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 Allow --test-server option to be combined with --restrict. Thanks to Nick
Moffitt for reporting the error. Closes Ubuntu bug #349072. (Andrew Ferguson) Moffitt for reporting the error. Closes Ubuntu bug #349072. (Andrew Ferguson)
......
...@@ -867,7 +867,7 @@ def CheckDest(dest_rp): ...@@ -867,7 +867,7 @@ def CheckDest(dest_rp):
Log.FatalError("No destination dir found at %s" % (dest_rp.path,)) Log.FatalError("No destination dir found at %s" % (dest_rp.path,))
elif need_check == 0: elif need_check == 0:
Log.FatalError("Destination dir %s does not need checking" % 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) init_user_group_mapping(dest_rp.conn)
dest_rp.conn.regress.Regress(dest_rp) dest_rp.conn.regress.Regress(dest_rp)
......
New in v1.3.4 (????/??/??) 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 Allow --test-server option to be combined with --restrict. Thanks to Nick
Moffitt for reporting the error. Closes Ubuntu bug #349072. (Andrew Ferguson) Moffitt for reporting the error. Closes Ubuntu bug #349072. (Andrew Ferguson)
......
...@@ -883,7 +883,7 @@ def CheckDest(dest_rp): ...@@ -883,7 +883,7 @@ def CheckDest(dest_rp):
Log.FatalError("No destination dir found at %s" % (dest_rp.path,)) Log.FatalError("No destination dir found at %s" % (dest_rp.path,))
elif need_check == 0: elif need_check == 0:
Log.FatalError("Destination dir %s does not need checking" % 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) init_user_group_mapping(dest_rp.conn)
dest_rp.conn.regress.Regress(dest_rp) dest_rp.conn.regress.Regress(dest_rp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment