diff options
author | Wayne Davison <wayned@samba.org> | 2004-07-21 23:59:33 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2004-07-21 23:59:33 +0000 |
commit | 8c90957ff59a6030160676208f6c89c5476cb30f (patch) | |
tree | 7d6f0deeeec6f003963534f9dc932129931d6351 /pipe.c | |
parent | c0d8e84c9dd6e753f65448caa74e662ab070c0a0 (diff) | |
download | rsync-8c90957ff59a6030160676208f6c89c5476cb30f.tar.gz rsync-8c90957ff59a6030160676208f6c89c5476cb30f.tar.bz2 rsync-8c90957ff59a6030160676208f6c89c5476cb30f.zip |
Got rid of read_batch special case.
Diffstat (limited to 'pipe.c')
-rw-r--r-- | pipe.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -25,7 +25,6 @@ extern int am_sender; extern int am_server; extern int blocking_io; extern int orig_umask; -extern int read_batch; extern int write_batch; extern int filesfrom_fd; @@ -121,7 +120,7 @@ pid_t local_child(int argc, char **argv, int *f_in, int *f_out, } /* For read-batch, don't even fork. */ - pid = read_batch ? getpid() : do_fork(); + pid = do_fork(); if (pid == -1) { rsyserr(FERROR, errno, "fork"); |