summaryrefslogtreecommitdiff
path: root/src/lib/testing_api_helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/testing_api_helpers.c')
-rw-r--r--src/lib/testing_api_helpers.c20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/lib/testing_api_helpers.c b/src/lib/testing_api_helpers.c
index 7b6e6ad..a83c391 100644
--- a/src/lib/testing_api_helpers.c
+++ b/src/lib/testing_api_helpers.c
@@ -47,8 +47,7 @@ SYNC_TESTING_run_sync (const char *config_filename,
char *wget_cmd;
sync_proc
- = GNUNET_OS_start_process (GNUNET_NO,
- GNUNET_OS_INHERIT_STD_ALL,
+ = GNUNET_OS_start_process (GNUNET_OS_INHERIT_STD_ALL,
NULL, NULL, NULL,
"sync-httpd",
"sync-httpd",
@@ -147,15 +146,14 @@ SYNC_TESTING_prepare_sync (const char *config_filename)
}
/* DB preparation */
- if (NULL == (dbinit_proc = GNUNET_OS_start_process
- (GNUNET_NO,
- GNUNET_OS_INHERIT_STD_ALL,
- NULL, NULL, NULL,
- "sync-dbinit",
- "sync-dbinit",
- "-c", config_filename,
- "-r",
- NULL)))
+ if (NULL == (dbinit_proc = GNUNET_OS_start_process (
+ GNUNET_OS_INHERIT_STD_ALL,
+ NULL, NULL, NULL,
+ "sync-dbinit",
+ "sync-dbinit",
+ "-c", config_filename,
+ "-r",
+ NULL)))
{
GNUNET_log (GNUNET_ERROR_TYPE_ERROR,
"Failed to run sync-dbinit."