See attached patch. I believe this makes more sense than exiting with status 1 (indicating an error), as simply having nothing to do is a harmless, valid state.
--- rdiff-backup-1.0.4/rdiff_backup/Main.py.orig        2006-01-31 
13:36:55.505083666 -0600
+++ rdiff-backup-1.0.4/rdiff_backup/Main.py     2006-01-31 13:36:57.740048887 
-0600
@@ -857,7 +857,7 @@
                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)


_______________________________________________
rdiff-backup-users mailing list at [email protected]
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki

Reply via email to