diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-17 22:35:36 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-17 22:35:36 +0200 |
commit | 28ab2c446fba4980a8295d59fdf203a028a35dd6 (patch) | |
tree | ebd266d1e280e353e8857a7e3e35bbf609c0a888 /src/arm/arm_api.c | |
parent | 931232d1141891232e46f5d6fd1432663e730e7a (diff) | |
download | gnunet-28ab2c446fba4980a8295d59fdf203a028a35dd6.tar.gz gnunet-28ab2c446fba4980a8295d59fdf203a028a35dd6.zip |
avoid boolean flag in GNUNET_OS_start_process() API (fixes #6188)
Diffstat (limited to 'src/arm/arm_api.c')
-rw-r--r-- | src/arm/arm_api.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/arm/arm_api.c b/src/arm/arm_api.c index cd5f44565..dea7a70be 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, |