X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=contrib%2Ftimeout_watchdog.c;h=a33f67adc007b6eb84335988eaeeb8556865db2e;hb=8c106e966096e1c671b1bab4d05bd672ae5f4ea5;hp=5fbe7e339b2f4459a0c90e5ca71a853f237732a7;hpb=f3af36f85e37e7ee0a5f7bbaf285d5f91b053206;p=oweals%2Fgnunet.git 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[]) { /* int setpgrp(pid_t pid, pid_t pgid); is not working on this machine */ //setpgrp (0, pid_t gpid); - if (-1 !- gpid) + if (-1 != gpid) setpgid (0, gpid); execvp (argv[2], &argv[2]); exit (1);