summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-08-25 13:50:00 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-08-25 13:50:00 +0000
commit81e066f42ac739a775f3220d99ac65a34d252398 (patch)
tree07703a427eef1862e5d3624786b8fd1368d9efcd
parent36541dcea239d3bc2567eb67e29ba48b461114c8 (diff)
downloads6-rc-81e066f42ac739a775f3220d99ac65a34d252398.tar.xz
Fix warning when no notification-fd
-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) ;
}
}