aboutsummaryrefslogtreecommitdiff
path: root/src/arm/arm_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arm/arm_api.c')
-rw-r--r--src/arm/arm_api.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c
index 1c402a8e0..899b6f152 100644
--- a/src/arm/arm_api.c
+++ b/src/arm/arm_api.c
@@ -729,8 +729,7 @@ start_arm_service (struct GNUNET_ARM_Handle *h,
729 /* Means we are ONLY running locally */ 729 /* Means we are ONLY running locally */
730 /* we're clearly running a test, don't daemonize */ 730 /* we're clearly running a test, don't daemonize */
731 if (NULL == config) 731 if (NULL == config)
732 proc = GNUNET_OS_start_process_s (GNUNET_NO, 732 proc = GNUNET_OS_start_process_s (std_inheritance,
733 std_inheritance,
734 lsocks, 733 lsocks,
735 loprefix, 734 loprefix,
736 quotedbinary, 735 quotedbinary,
@@ -738,8 +737,7 @@ start_arm_service (struct GNUNET_ARM_Handle *h,
738 lopostfix, 737 lopostfix,
739 NULL); 738 NULL);
740 else 739 else
741 proc = GNUNET_OS_start_process_s (GNUNET_NO, 740 proc = GNUNET_OS_start_process_s (std_inheritance,
742 std_inheritance,
743 lsocks, 741 lsocks,
744 loprefix, 742 loprefix,
745 quotedbinary, 743 quotedbinary,
@@ -752,8 +750,7 @@ start_arm_service (struct GNUNET_ARM_Handle *h,
752 else 750 else
753 { 751 {
754 if (NULL == config) 752 if (NULL == config)
755 proc = GNUNET_OS_start_process_s (GNUNET_NO, 753 proc = GNUNET_OS_start_process_s (std_inheritance,
756 std_inheritance,
757 lsocks, 754 lsocks,
758 loprefix, 755 loprefix,
759 quotedbinary, 756 quotedbinary,
@@ -761,8 +758,7 @@ start_arm_service (struct GNUNET_ARM_Handle *h,
761 lopostfix, 758 lopostfix,
762 NULL); 759 NULL);
763 else 760 else
764 proc = GNUNET_OS_start_process_s (GNUNET_NO, 761 proc = GNUNET_OS_start_process_s (std_inheritance,
765 std_inheritance,
766 lsocks, 762 lsocks,
767 loprefix, 763 loprefix,
768 quotedbinary, 764 quotedbinary,
@@ -774,7 +770,7 @@ start_arm_service (struct GNUNET_ARM_Handle *h,
774 } 770 }
775 GNUNET_free (binary); 771 GNUNET_free (binary);
776 GNUNET_free (quotedbinary); 772 GNUNET_free (quotedbinary);
777 GNUNET_free_non_null (config); 773 GNUNET_free (config);
778 GNUNET_free (loprefix); 774 GNUNET_free (loprefix);
779 GNUNET_free (lopostfix); 775 GNUNET_free (lopostfix);
780 if (NULL == proc) 776 if (NULL == proc)
@@ -976,10 +972,7 @@ GNUNET_ARM_request_service_start (struct GNUNET_ARM_Handle *h,
976 the above check should catch 99.99% of the cases where ARM 972 the above check should catch 99.99% of the cases where ARM
977 is already running. */LOG (GNUNET_ERROR_TYPE_DEBUG, 973 is already running. */LOG (GNUNET_ERROR_TYPE_DEBUG,
978 "Starting ARM service\n"); 974 "Starting ARM service\n");
979 if (NULL == (sig = GNUNET_DISK_pipe (GNUNET_NO, 975 if (NULL == (sig = GNUNET_DISK_pipe (GNUNET_DISK_PF_NONE)))
980 GNUNET_NO,
981 GNUNET_NO,
982 GNUNET_YES)))
983 { 976 {
984 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, 977 GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING,
985 "pipe"); 978 "pipe");