commit cafdc29
hovercats
·
2025-01-05 11:14:37 +0000 UTC
parent 1020ae1
dont check if file exist when activating a service
1 files changed,
+1,
-7
M
rcsm
M
rcsm
+1,
-7
1@@ -29,13 +29,7 @@ case -a
2 case 1
3 find $basedir/run -type l
4 case 2
5- if (test -e $basedir/avail/$2) {
6- ln -sf $basedir/avail/$2 $basedir/run/
7- }
8- if not {
9- printf 'Service not found\n'
10- exit 1
11- }
12+ ln -sf $basedir/avail/$2 $basedir/run/
13 }
14 case -c
15 test -d $basedir/run || mkdir -p $basedir/run