Contents of /trunk/netkit-rsh/patches/netkit-rsh-0.17-rexec-sig.patch
Parent Directory | Revision Log
Revision 153 -
(show annotations)
(download)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 531 byte(s)
Tue May 8 20:52:56 2007 UTC (17 years, 4 months ago) by niro
File size: 531 byte(s)
-import
1 | --- netkit-rsh-0.17/rexec/rexec.c.rexec-sig 2004-11-17 16:51:37.000000000 +0100 |
2 | +++ netkit-rsh-0.17/rexec/rexec.c 2004-11-17 17:17:12.844628352 +0100 |
3 | @@ -434,10 +434,10 @@ |
4 | break; |
5 | default: |
6 | if ( sigaction(sig, NULL, &action) < 0 ) |
7 | - { |
8 | - perror(progname); |
9 | - exit(1); |
10 | - } |
11 | + /* in the signal(7) you can found "...except SIGKILL and SIGSTOP", |
12 | + * but we detect problems with more signals... |
13 | + */ |
14 | + return; |
15 | if ( action.sa_handler != SIG_IGN ) |
16 | { |
17 | action.sa_handler = handler; |