X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/27d3cdbc943a57d64f4f2a35a4f1e1b15d9ca41f..5a788adec19043d4d93c4fa2713f9f633bfd35ab:/cleanup.c diff --git a/cleanup.c b/cleanup.c index b4eac0c4..ee2fa4d5 100644 --- a/cleanup.c +++ b/cleanup.c @@ -57,6 +57,9 @@ void exit_cleanup(int code) unlink(lp_pid_file()); } } + + if (code) log_exit(code); + exit(code); }