From 3c933c332b037f427c123f2cf958b717c5f1605a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 1 Mar 2015 18:09:52 +0000 Subject: - Revert LASTFINISH special case (closing stdin/out) in s6-supervise. (To be watched, but loggers should exit once s6-supervise exits.) - Change Colin's email address --- src/supervision/s6-supervise.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src') diff --git a/src/supervision/s6-supervise.c b/src/supervision/s6-supervise.c index bb4e761..4aaf371 100644 --- a/src/supervision/s6-supervise.c +++ b/src/supervision/s6-supervise.c @@ -304,18 +304,9 @@ static void up_u (void) announce() ; } -static void closethem (void) -{ - fd_close(0) ; - fd_close(1) ; - open_read("/dev/null") ; - open_write("/dev/null") ; -} - static void up_x (void) { state = LASTUP ; - closethem() ; } static void up_term (void) @@ -350,7 +341,6 @@ static void finish_u (void) static void finish_x (void) { state = LASTFINISH ; - closethem() ; } static void lastup_z (void) -- cgit v1.2.3