--- a/rexec/rexec.c +++ b/rexec/rexec.c @@ -434,10 +434,10 @@ break; default: if ( sigaction(sig, NULL, &action) < 0 ) - { - perror(progname); - exit(1); - } + /* in the signal(7) you can found "...except SIGKILL and SIGSTOP", + * but we detect problems with more signals... + */ + return; if ( action.sa_handler != SIG_IGN ) { action.sa_handler = handler;