aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-07-16 20:13:24 +0000
committerChristian Grothoff <christian@grothoff.org>2011-07-16 20:13:24 +0000
commitf3af36f85e37e7ee0a5f7bbaf285d5f91b053206 (patch)
treee45f0f0679438d77e35e852aa5417195cf093aba /contrib
parent1a162940d44d0eae1bec6be42503d148b957229c (diff)
downloadgnunet-f3af36f85e37e7ee0a5f7bbaf285d5f91b053206.tar.gz
gnunet-f3af36f85e37e7ee0a5f7bbaf285d5f91b053206.zip
checkneg
Diffstat (limited to 'contrib')
-rw-r--r--contrib/timeout_watchdog.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/timeout_watchdog.c b/contrib/timeout_watchdog.c
index b28e8e833..5fbe7e339 100644
--- a/contrib/timeout_watchdog.c
+++ b/contrib/timeout_watchdog.c
@@ -94,7 +94,8 @@ 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 setpgid (0, gpid); 97 if (-1 !- gpid)
98 setpgid (0, gpid);
98 execvp (argv[2], &argv[2]); 99 execvp (argv[2], &argv[2]);
99 exit (1); 100 exit (1);
100 } 101 }