summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-03-01 18:09:52 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-03-01 18:09:52 +0000
commit3c933c332b037f427c123f2cf958b717c5f1605a (patch)
treed56988efcb2531e1395358598783e33d6357c74e /src
parent0e23f8f864a795214506918de4f7f5897f5e0730 (diff)
downloads6-3c933c332b037f427c123f2cf958b717c5f1605a.tar.xz
- 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
Diffstat (limited to 'src')
-rw-r--r--src/supervision/s6-supervise.c10
1 files changed, 0 insertions, 10 deletions
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)