From 81e066f42ac739a775f3220d99ac65a34d252398 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 25 Aug 2015 13:50:00 +0000 Subject: Fix warning when no notification-fd --- src/s6-rc/s6-rc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ; } } -- cgit v1.2.3