commit f1ca60e5217a40705842141656f620274383c13e
parent 6d1c11fdbb384e7606ea7fd69ee2044cf448b2ae
Author: Laurent Bercot <ska-skaware@skarnet.org>
Date: Thu, 2 Sep 2021 11:24:57 +0000
Use checkservicedir() in s6-svlink
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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) ;