Hello,

s6-linux-init-shutdownd's code contains something like this in
function run_stage3():

if (WIFSIGNALED(wstat))
//...
else if (WEXITSTATUS(wstat))
//…
else if (WEXITSTATUS(wstat))
//…

* 
https://git.skarnet.org/cgi-bin/cgit.cgi/s6-linux-init/plain/src/shutdown/s6-linux-init-shutdownd.c?h=v1.0.2.0

The same condition is tested twice, and the second 'if' branch prints
a wrong warning, so I suppose only the first and last branches are the
ones meant to be there, and the second one is a mistake.

G.

Reply via email to