Commit 4503486b authored by bescoto's avatar bescoto

Charles Duffy's patch so unnecessary --check-destination-dir returns 0


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@755 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 42ad1982
......@@ -862,7 +862,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,))
(dest_rp.path,), errlevel = 0)
init_user_group_mapping(dest_rp.conn)
dest_rp.conn.regress.Regress(dest_rp)
......
......@@ -776,7 +776,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,))
(dest_rp.path,), errlevel = 0)
init_user_group_mapping(dest_rp.conn)
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