[Bug 1330] RFE: 'ControlPersist' support -- automatically fork and leave ControlMaster behind as a dæmon

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Tue Jul 10 22:02:37 EST 2007


Wout Mertens <wmertens at cisco.com> changed:

           What    |Removed                     |Added
Attachment #1319 is|0                           |1
           obsolete|                            |

--- Comment #4 from Wout Mertens <wmertens at cisco.com>  2007-07-10 22:02:33 ---
Created an attachment (id=1322)
 --> (http://bugzilla.mindrot.org/attachment.cgi?id=1322)
patch against 4.6p1 with some fixes

This patch is against 4.6p1.

It now initializes the flag value, which is needed to be able to turn
it off. If it's not initialized to -1 it's set to some random value and
that means it's on.

It also replaces the daemonizing code with a call to daemon().

It works fine for me. :-)

Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.

More information about the openssh-bugs mailing list