}
switch(signo) {
- case 0:
case SIGINT:
case SIGHUP:
case SIGQUIT:
bool timedout = false;
bool do_second_kill = false;
struct sigaction signals;
- int signums[] = {
- -1,
- SIGTERM,
- SIGINT,
- SIGHUP,
- SIGCHLD,
- SIGALRM,
- SIGQUIT,
- };
+ int signums[] = {-1, SIGTERM, SIGINT, SIGHUP, SIGCHLD,
+ SIGALRM, SIGQUIT};
const struct option longopts[] = {
{ "preserve-status", no_argument, &preserve, 1 },