From b160ec02c25975c8220141924fabc2c2ef6b7dac Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 18 Jul 2019 14:16:52 +0000 Subject: remove extra if branch in shutdownd; prepare for 1.0.2.1 --- src/shutdown/s6-linux-init-shutdownd.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/shutdown') 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 @@ -86,12 +86,6 @@ static inline void run_stage3 (char const *basedir, char const *const *envp) strerr_warnw3x(stage3, " was killed by signal ", fmt) ; } 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 ; -- cgit v1.2.3