diff options
author | Bill Nottingham <notting@redhat.com> | 2001-02-22 04:33:18 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2001-02-22 04:33:18 +0000 |
commit | 87aef170444022cdcc901be0627c9a92b773af64 (patch) | |
tree | 5820fdd12a8547cb613bd3ab8d04565fec63ccad /src/testd.c | |
parent | 8ec94af1056cc65fe4cec54199521da5dbd0a522 (diff) | |
download | initscripts-87aef170444022cdcc901be0627c9a92b773af64.tar initscripts-87aef170444022cdcc901be0627c9a92b773af64.tar.gz initscripts-87aef170444022cdcc901be0627c9a92b773af64.tar.bz2 initscripts-87aef170444022cdcc901be0627c9a92b773af64.tar.xz initscripts-87aef170444022cdcc901be0627c9a92b773af64.zip |
close extra file descriptors before exec()ing commands in initlog
Diffstat (limited to 'src/testd.c')
-rw-r--r-- | src/testd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testd.c b/src/testd.c index 7deb00eb..b2a5c7e6 100644 --- a/src/testd.c +++ b/src/testd.c @@ -1,5 +1,6 @@ #include <sys/signal.h> #include <unistd.h> +#include <stdlib.h> int main() { signal(SIGTERM, SIG_IGN); |