appropriate logging string
[oweals/gnunet.git] / contrib / timeout_watchdog.c
index 5fbe7e339b2f4459a0c90e5ca71a853f237732a7..a33f67adc007b6eb84335988eaeeb8556865db2e 100644 (file)
@@ -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);