commit 571bfee

hovercats  ·  2023-09-02 13:23:24 +0000 UTC
parent a9d0201
redirect outputs to /dev/null
1 files changed,  +2, -2
M rcsm
M rcsm
+2, -2
 1@@ -11,12 +11,12 @@ fn run {
 2 	if (test -z $2) {
 3 		test -e $basedir/avail/$2 || printf 'Service not found\n'
 4 		test -x $basedir/avail/$2 || printf 'Servicefile not executable\n'
 5-		$basedir/avail/$2 $1 &
 6+		$basedir/avail/$2 $1 >/dev/null >[1=2]  &
 7 	}
 8 	if not {
 9 		for (serv in $basedir/run) {
10 			test -x $serv || printf 'Servicefile not executable\n'
11-			$basedir/run/$2 $1 &
12+			$basedir/run/$2 $1 >/dev/null >[1=2]  &
13 		}
14 	}
15 }