diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-25 13:50:00 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2015-08-25 13:50:00 +0000 |
commit | 81e066f42ac739a775f3220d99ac65a34d252398 (patch) | |
tree | 07703a427eef1862e5d3624786b8fd1368d9efcd /src | |
parent | 36541dcea239d3bc2567eb67e29ba48b461114c8 (diff) | |
download | s6-rc-81e066f42ac739a775f3220d99ac65a34d252398.tar.xz |
Fix warning when no notification-fd
Diffstat (limited to 'src')
-rw-r--r-- | src/s6-rc/s6-rc.c | 2 |
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) ; } } |