diff options
author | Sree Harsha Totakura <totakura@in.tum.de> | 2013-10-12 00:07:33 +0000 |
---|---|---|
committer | Sree Harsha Totakura <totakura@in.tum.de> | 2013-10-12 00:07:33 +0000 |
commit | 27728a48d661e9ee546cc95aae8fa52050eefb29 (patch) | |
tree | 89450fc22b530dc592134ac18405180eeafe13b3 /src/core/test_core_api_start_only.c | |
parent | 6d38e5b12b460d1d7f0a6eafe1410f7121e04002 (diff) | |
download | gnunet-27728a48d661e9ee546cc95aae8fa52050eefb29.tar.gz gnunet-27728a48d661e9ee546cc95aae8fa52050eefb29.zip |
- change --enable-ll to --enable-supermuc
- define a system wide termination signal GNUNET_TERM_SIG. Set this to SIGUSR1 only when building for SuperMUC
Diffstat (limited to 'src/core/test_core_api_start_only.c')
-rw-r--r-- | src/core/test_core_api_start_only.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/test_core_api_start_only.c b/src/core/test_core_api_start_only.c index 0389a908e..255de0319 100644 --- a/src/core/test_core_api_start_only.c +++ b/src/core/test_core_api_start_only.c | |||
@@ -184,7 +184,7 @@ static void | |||
184 | stop_arm (struct PeerContext *p) | 184 | stop_arm (struct PeerContext *p) |
185 | { | 185 | { |
186 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Stopping peer\n"); | 186 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Stopping peer\n"); |
187 | if (0 != GNUNET_OS_process_kill (p->arm_proc, SIGTERM)) | 187 | if (0 != GNUNET_OS_process_kill (p->arm_proc, GNUNET_TERM_SIG)) |
188 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); | 188 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "kill"); |
189 | if (GNUNET_OS_process_wait (p->arm_proc) != GNUNET_OK) | 189 | if (GNUNET_OS_process_wait (p->arm_proc) != GNUNET_OK) |
190 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); | 190 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); |