diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libs6/s6_supervise_link_names.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libs6/s6_supervise_link_names.c b/src/libs6/s6_supervise_link_names.c index 71fff1d..9af573f 100644 --- a/src/libs6/s6_supervise_link_names.c +++ b/src/libs6/s6_supervise_link_names.c @@ -128,6 +128,7 @@ int s6_supervise_link_names (char const *scdir, char const *const *servicedirs, } stralloc_free(&rpsa) ; r = s6_svc_writectl(scdir, S6_SVSCAN_CTLDIR, "a", 1) ; + if (!r) errno = ENXIO ; if (r <= 0) goto errsa ; killopts = 3 ; if (ftrigr_wait_and(&a, ids, m, deadline, stamp) < 0) goto errsa ; |