]>
Commit | Line | Data |
---|---|---|
99602c2b | 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) |