From 95a6d46a1f3b408b1b0c32d23f2cc01ab20359e1 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Mon, 27 Nov 2017 13:43:14 +0000 Subject: Use new skalibs' access_at instead of faccessat, because MacOS --- src/s6-rc/s6-rc-compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/s6-rc/s6-rc-compile.c b/src/s6-rc/s6-rc-compile.c index 63dd82c..cca081d 100644 --- a/src/s6-rc/s6-rc-compile.c +++ b/src/s6-rc/s6-rc-compile.c @@ -446,7 +446,7 @@ static inline void add_longrun (before_t *be, int dirfd, char const *srcdir, cha genalloc_setlen(unsigned int, &be->indices, relatedindex) ; } } - else if (faccessat(dirfd, "pipeline-name", F_OK, 0) < 0) + else if (access_at(dirfd, "pipeline-name", F_OK, 0) < 0) { if (errno != ENOENT) strerr_diefu5sys(111, "access ", srcdir, "/", name, "/pipeline-name") ; -- cgit v1.2.3