sudo process is broken (due to the parent dying). Prevents a
spurious "unexpected reply type on backchannel" warning.
/* short read or EOF, parent process died? */
}
sudo_ev_loopbreak(mc->evbase);
- }
- if (cstmp.type == CMD_SIGNO) {
- deliver_signal(cmnd_pid, cstmp.val, true);
} else {
- warningx(_("unexpected reply type on backchannel: %d"), cstmp.type);
+ if (cstmp.type == CMD_SIGNO) {
+ deliver_signal(cmnd_pid, cstmp.val, true);
+ } else {
+ warningx(_("unexpected reply type on backchannel: %d"), cstmp.type);
+ }
}
debug_return;
}