summaryrefslogtreecommitdiff
path: root/src/shutdown/s6-linux-init-shutdownd.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2019-07-18 14:16:52 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2019-07-18 14:16:52 +0000
commitb160ec02c25975c8220141924fabc2c2ef6b7dac (patch)
tree147ded72d6e41b75493f8e2f1973ed052e8db29b /src/shutdown/s6-linux-init-shutdownd.c
parent3d264488fbdb00f6cd725ab9635c0faa91b48c55 (diff)
downloads6-linux-init-b160ec02c25975c8220141924fabc2c2ef6b7dac.tar.xz
remove extra if branch in shutdownd; prepare for 1.0.2.1
Diffstat (limited to 'src/shutdown/s6-linux-init-shutdownd.c')
-rw-r--r--src/shutdown/s6-linux-init-shutdownd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/shutdown/s6-linux-init-shutdownd.c b/src/shutdown/s6-linux-init-shutdownd.c
index 7f86e66..f988955 100644
--- a/src/shutdown/s6-linux-init-shutdownd.c
+++ b/src/shutdown/s6-linux-init-shutdownd.c
@@ -88,12 +88,6 @@ static inline void run_stage3 (char const *basedir, char const *const *envp)
else if (WEXITSTATUS(wstat))
{
char fmt[UINT_FMT] ;
- fmt[uint_fmt(fmt, WTERMSIG(wstat))] = 0 ;
- strerr_warnw3x(stage3, " was killed by signal ", fmt) ;
- }
- else if (WEXITSTATUS(wstat))
- {
- char fmt[UINT_FMT] ;
fmt[uint_fmt(fmt, WEXITSTATUS(wstat))] = 0 ;
strerr_warnw3x(stage3, " exited ", fmt) ;
}