summaryrefslogtreecommitdiff
path: root/net-misc/netkit-rsh/files/patches/180_all_rexec-sig.patch
blob: 4896bfa2349f09387a9c1be75894b7f4c22ed8a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- 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;