summaryrefslogtreecommitdiff
path: root/src/supervision
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2021-09-02 11:24:57 +0000
committerLaurent Bercot <ska@appnovation.com>2021-09-02 11:24:57 +0000
commitf1ca60e5217a40705842141656f620274383c13e (patch)
tree8150fc0fbde78018d4399a4fc26d7860d0fd9d87 /src/supervision
parent6d1c11fdbb384e7606ea7fd69ee2044cf448b2ae (diff)
downloads6-f1ca60e5217a40705842141656f620274383c13e.tar.xz
Use checkservicedir() in s6-svlink
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/supervision')
-rw-r--r--src/supervision/s6-svlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/supervision/s6-svlink.c b/src/supervision/s6-svlink.c
index 159f817..d36ceab 100644
--- a/src/supervision/s6-svlink.c
+++ b/src/supervision/s6-svlink.c
@@ -107,6 +107,7 @@ int main (int argc, char const *const *argv)
if (!name[0] || name[0] == '.' || name[0] == '/')
strerr_dief1x(100, "invalid name") ;
checkscandir(argv[0]) ;
+ checkservicedir(argv[1]) ;
tain_now_set_stopwatch_g() ;
tain_add_g(&tto, &tto) ;