summaryrefslogtreecommitdiff
path: root/src/shutdown
diff options
context:
space:
mode:
Diffstat (limited to 'src/shutdown')
-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) ;
}