Skip to content

Commit

Permalink
Got rid of read_batch special case.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wayne Davison committed Jul 21, 2004
1 parent c0d8e84 commit 8c90957
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pipe.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit 8c90957

Please sign in to comment.