It would be much appreciated if rsync could mark exits of dry-runs specifically as such. Example: 2014/09/06 10:22:41 [3449] [sender] _exit_cleanup(code=0, file=main.c, line=1165): about to call exit(0) (DRY RUN) My feeling is that a --dry-run is such a fundamental modifier to the context of 'success' that it merits this special treatment. I know you see this information when you ask for --stats but I think it is equally significant to clarify the context of the exit. With thanks, Dave.
Seems reasonable to me (and easy to do). I've checked-in such a change to git.