diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-18 14:16:52 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-07-18 14:16:52 +0000 |
commit | b160ec02c25975c8220141924fabc2c2ef6b7dac (patch) | |
tree | 147ded72d6e41b75493f8e2f1973ed052e8db29b /src/shutdown/s6-linux-init-shutdownd.c | |
parent | 3d264488fbdb00f6cd725ab9635c0faa91b48c55 (diff) | |
download | s6-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.c | 6 |
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) ; } |