summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/s6-rc/s6-rc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/s6-rc/s6-rc.c b/src/s6-rc/s6-rc.c
index db30690..ca668f2 100644
--- a/src/s6-rc/s6-rc.c
+++ b/src/s6-rc/s6-rc.c
@@ -136,7 +136,7 @@ static pid_t start_longrun (unsigned int i, int h)
if (access(servicefn, F_OK) < 0)
{
h = 2 ;
- if (verbosity >= 2 && errno == ENOENT)
+ if (verbosity >= 2 && errno != ENOENT)
strerr_warnwu2sys("access ", servicefn) ;
}
}