[Bug 4320] Daemon should send stdout, stderr of {pre,post}-xfer command to client
samba-bugs at samba.org
samba-bugs at samba.org
Sat Jun 4 13:05:49 MDT 2011
https://bugzilla.samba.org/show_bug.cgi?id=4320
Wayne Davison <wayned at samba.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Wayne Davison <wayned at samba.org> 2011-06-04 19:05:49 UTC ---
I prefer to leave stderr unaffected. This provides a way for someone to debug
their scripts using rsync --daemon --no-detach (and avoids unintended messages
being sent to the user).
I have checked in a change that sends stdout to the user when the script
returns an exit status (so, only on failure). To return a message on success
would require setting a global and outputting it later on in another file than
clientserver.c (after the protocol gets fully setup), and is not something that
I'm inclined to do at the moment.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the rsync
mailing list