diff options
-rw-r--r-- | src/s6-rc/s6-rc-compile.c | 2 |
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 853bacb..cf9d62b 100644 --- a/src/s6-rc/s6-rc-compile.c +++ b/src/s6-rc/s6-rc-compile.c @@ -220,7 +220,7 @@ static int add_name_nocheck (before_t *be, char const *srcdir, char const *name, static void check_identifier (char const *srcdir, char const *s) { - if (!strncmp(s, "s6rc-", 5) && !strncmp(s, "s6-rc-", 6)) + if (!strncmp(s, "s6rc-", 5) || !strncmp(s, "s6-rc-", 6)) strerr_dief5x(1, "in ", srcdir, ": identifier ", s, " starts with reserved prefix") ; } |