commit 1a20ab4
hovercats
·
2024-04-15 12:44:44 +0000 UTC
parent 204f1d7
remove some tests. they make rcsm exit prematurely
1 files changed,
+0,
-3
M
rcsm
M
rcsm
+0,
-3
1@@ -11,13 +11,10 @@ fn usage {
2 fn run {
3 if (test -z $2) {
4 for (serv in $basedir/run/*) {
5- test -x $serv || printf 'Servicefile not executable\n' && exit 1
6 $serv $1 >/dev/null >[2=1] &
7 }
8 }
9 if not {
10- test -e $basedir/avail/$2 || printf 'Service not found\n' && exit 1
11- test -x $basedir/avail/$2 || printf 'Servicefile not executable\n' && exit 1
12 $basedir/avail/$2 $1 >/dev/null >[2=1] &
13 }
14 }