diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-29 11:11:38 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-29 11:11:38 +0000 |
commit | 9b73d1c0e9ca979700493337d0a87497b882d811 (patch) | |
tree | 7c5c9db0aba0c86a01ea573089653127295f2b6e /cleanup.c | |
parent | f3737e064849199071468eea8fe9fbf012d6ba7e (diff) | |
download | rsync-9b73d1c0e9ca979700493337d0a87497b882d811.tar.gz rsync-9b73d1c0e9ca979700493337d0a87497b882d811.tar.bz2 rsync-9b73d1c0e9ca979700493337d0a87497b882d811.zip |
put the pid on each line of the log file to facilitate
auto-parsing. Requested by Jarkko Hietaniemi (jhi@iki.fi)
Diffstat (limited to 'cleanup.c')
-rw-r--r-- | cleanup.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -57,6 +57,9 @@ void exit_cleanup(int code) unlink(lp_pid_file()); } } + + if (code) log_exit(code); + exit(code); } |