diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/gnunet-timeout.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/gnunet-timeout.c b/src/util/gnunet-timeout.c index f650475cb..4c3c9125d 100644 --- a/src/util/gnunet-timeout.c +++ b/src/util/gnunet-timeout.c | |||
@@ -45,13 +45,11 @@ sigchld_handler (int val) | |||
45 | if (WIFEXITED (status) != 0) | 45 | if (WIFEXITED (status) != 0) |
46 | { | 46 | { |
47 | ret = WEXITSTATUS (status); | 47 | ret = WEXITSTATUS (status); |
48 | fprintf (stderr, "Process exited with result %u\n", ret); | ||
49 | _exit (ret); /* return same status code */ | 48 | _exit (ret); /* return same status code */ |
50 | } | 49 | } |
51 | if (WIFSIGNALED (status) != 0) | 50 | if (WIFSIGNALED (status) != 0) |
52 | { | 51 | { |
53 | ret = WTERMSIG (status); | 52 | ret = WTERMSIG (status); |
54 | fprintf (stderr, "Process received signal %u\n", ret); | ||
55 | kill (getpid (), ret); /* kill self with the same signal */ | 53 | kill (getpid (), ret); /* kill self with the same signal */ |
56 | } | 54 | } |
57 | _exit (-1); | 55 | _exit (-1); |