From 0e83f5fcfd5896e007ee3d74b6eec00f0480d738 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 3 Jun 2021 22:09:59 +0000 Subject: bugfix: s6-rc-compile didn't properly read flags --- 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 7aa37ea..c233f1a 100644 --- a/src/s6-rc/s6-rc-compile.c +++ b/src/s6-rc/s6-rc-compile.c @@ -368,7 +368,7 @@ static uint32_t read_flags (int dfd, char const *srcdir, char const *name) if (errno != ENOENT) strerr_diefu6sys(111, "read ", srcdir, "/", name, "/", files[i]) ; } - else flags |= i ; + else flags |= 1 << i ; } return flags ; } -- cgit v1.2.3