From f0c0a6da2d4d9162d09c0662598e18e82d9bd917 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Wed, 3 Jan 2018 14:11:10 +0000 Subject: Use child_spawn2 instead of child_spawn in s6-setlock --- src/fdholder/s6-fdholderd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fdholder/s6-fdholderd.c') diff --git a/src/fdholder/s6-fdholderd.c b/src/fdholder/s6-fdholderd.c index 2b96553..56dfb63 100644 --- a/src/fdholder/s6-fdholderd.c +++ b/src/fdholder/s6-fdholderd.c @@ -641,8 +641,8 @@ static inline int new_connection (int fd, regex_t *rre, regex_t *wre, unsigned i s6_accessrules_params_free(¶ms) ; return 0 ; } - s6_accessrules_params_free(¶ms) ; } + s6_accessrules_params_free(¶ms) ; if (!(done & 1)) defaultre(rre) ; if (!(done & 2)) defaultre(wre) ; return 1 ; -- cgit v1.2.3