diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/supervision/s6-svlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervision/s6-svlink.c b/src/supervision/s6-svlink.c index d36ceab..4f36f3d 100644 --- a/src/supervision/s6-svlink.c +++ b/src/supervision/s6-svlink.c @@ -42,7 +42,7 @@ static inline void checkservicedir (char const *s) size_t len = strlen(s) ; char fn[len + 9] ; memcpy(fn, s, len) ; - memcpy(fn + len, "/run", 4) ; + memcpy(fn + len, "/run", 5) ; if (stat(fn, &st) == -1) strerr_diefu2sys(111, "stat ", fn) ; if (!(st.st_mode & S_IXUSR)) strerr_dief2x(100, fn, " is not executable") ; r = s6_svc_ok(s) ; |