summaryrefslogtreecommitdiff
path: root/src/fdholder
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-01-03 14:11:10 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-01-03 14:11:10 +0000
commitf0c0a6da2d4d9162d09c0662598e18e82d9bd917 (patch)
tree03f37492dd0084ce5ead4940ed2e43e0bf5f5012 /src/fdholder
parentd7242bda59ec2ec056508b39cb532b5e7318dd13 (diff)
downloads6-f0c0a6da2d4d9162d09c0662598e18e82d9bd917.tar.xz
Use child_spawn2 instead of child_spawn in s6-setlock
Diffstat (limited to 'src/fdholder')
-rw-r--r--src/fdholder/s6-fdholderd.c2
1 files changed, 1 insertions, 1 deletions
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(&params) ;
return 0 ;
}
- s6_accessrules_params_free(&params) ;
}
+ s6_accessrules_params_free(&params) ;
if (!(done & 1)) defaultre(rre) ;
if (!(done & 2)) defaultre(wre) ;
return 1 ;