diff options
Diffstat (limited to 'contrib')
-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); |