X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/7a92ded39a3f278dc31323ccddb680748db5b7ab..373ef1601079db3a26591a3b9089b4bcb366ee82:/main.c diff --git a/main.c b/main.c index 0aeb29c0..c6a3165a 100644 --- a/main.c +++ b/main.c @@ -84,7 +84,7 @@ void wait_process(pid_t pid, int *status) io_flush(FULL_FLUSH); } - if ((waited_pid == -1) && (errno == ECHILD)) { + if (waited_pid == -1 && errno == ECHILD) { /* status of requested child no longer available. * check to see if it was processed by the sigchld_handler. */