/sbin/halt has nothing to do with initial bugreport (Jeff comment is simply not on the original subject)? Yes, I use SysV scripts but these are not run at all, so /sbin/halt is also not run.
Avoiding
NIH_MUST (e = nih_sprintf (NULL, "INIT_HALT=%s", init_halt));
(or any other environment variable)
makes things work as expected.
/sbin/halt has nothing to do with initial bugreport (Jeff comment is simply not on the original subject)? Yes, I use SysV scripts but these are not run at all, so /sbin/halt is also not run.
Avoiding
NIH_MUST (e = nih_sprintf (NULL, "INIT_HALT=%s", init_halt));
(or any other environment variable)
makes things work as expected.