[PATCH] Fix backwards comment about logging on a local run.

Matt McCutchen matt at mattmccutchen.net
Wed Jan 30 02:45:08 GMT 2008


---
Since the process executing the code inside the previous "if" (which
doesn't close the log file) sets am_server = 1, I think the comment is
backwards.

 pipe.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pipe.c b/pipe.c
index 12aa73d..101d4cb 100644
--- a/pipe.c
+++ b/pipe.c
@@ -150,7 +150,7 @@ pid_t local_child(int argc, char **argv, int *f_in, int *f_out,
 		child_main(argc, argv);
 	}
 
-	/* Let the client side handle this. */
+	/* Let the server side handle this. */
 	if (logfile_name) {
 		logfile_name = NULL;
 		logfile_close();
-- 
1.5.4.rc3.15.g4bbc



More information about the rsync mailing list