]> git.pld-linux.org Git - packages/at.git/blob - at-sigchld.patch
- rel 29
[packages/at.git] / at-sigchld.patch
1 --- at-3.1.7/atd.c.sigchld      Mon May 24 16:56:41 1999
2 +++ at-3.1.7/atd.c      Mon May 24 16:58:57 1999
3 @@ -348,6 +348,9 @@
4             if (setuid(uid) < 0)
5                 perr("Cannot set user id");
6  
7 +           if (SIG_ERR == signal(SIGCHLD, SIG_DFL))
8 +               perr("Cannot reset signal handler to default");
9 +
10             chdir("/");
11  
12             if (execle("/bin/sh", "sh", (char *) NULL, nenvp) != 0)
This page took 0.061464 seconds and 3 git commands to generate.