X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/f3737e064849199071468eea8fe9fbf012d6ba7e..9b73d1c0e9ca979700493337d0a87497b882d811:/cleanup.c?ds=sidebyside 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); }