summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2017-11-27 13:43:14 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2017-11-27 13:43:14 +0000
commit95a6d46a1f3b408b1b0c32d23f2cc01ab20359e1 (patch)
treeda9967aa102d8c7db7867a123c7ee1ee64966aac
parent50c4f63b8bc902fb581bd6171b2b51952a225b73 (diff)
downloads6-rc-95a6d46a1f3b408b1b0c32d23f2cc01ab20359e1.tar.xz
Use new skalibs' access_at instead of faccessat, because MacOS
-rw-r--r--src/s6-rc/s6-rc-compile.c2
1 files changed, 1 insertions, 1 deletions
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") ;