diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-07-16 20:36:50 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-07-16 20:36:50 +0000 |
commit | b80d1dd37e4417a110602712fa642060de4a067d (patch) | |
tree | 687090cb3449289b3fa0abeb69807c9b2be48c63 /contrib/timeout_watchdog.c | |
parent | f138394d15bda25c7aae11ef6aa86f580cf15316 (diff) | |
download | gnunet-b80d1dd37e4417a110602712fa642060de4a067d.tar.gz gnunet-b80d1dd37e4417a110602712fa642060de4a067d.zip |
checkret
Diffstat (limited to 'contrib/timeout_watchdog.c')
-rw-r--r-- | contrib/timeout_watchdog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/timeout_watchdog.c b/contrib/timeout_watchdog.c index 5fbe7e339..a33f67adc 100644 --- a/contrib/timeout_watchdog.c +++ b/contrib/timeout_watchdog.c | |||
@@ -94,7 +94,7 @@ main (int argc, char *argv[]) | |||
94 | { | 94 | { |
95 | /* int setpgrp(pid_t pid, pid_t pgid); is not working on this machine */ | 95 | /* int setpgrp(pid_t pid, pid_t pgid); is not working on this machine */ |
96 | //setpgrp (0, pid_t gpid); | 96 | //setpgrp (0, pid_t gpid); |
97 | if (-1 !- gpid) | 97 | if (-1 != gpid) |
98 | setpgid (0, gpid); | 98 | setpgid (0, gpid); |
99 | execvp (argv[2], &argv[2]); | 99 | execvp (argv[2], &argv[2]); |
100 | exit (1); | 100 | exit (1); |