diff --git a/scrutiny/rootfs/etc/services.d/zzz/run b/scrutiny/rootfs/etc/services.d/zzz/run index df30e2046..0584dd0c2 100644 --- a/scrutiny/rootfs/etc/services.d/zzz/run +++ b/scrutiny/rootfs/etc/services.d/zzz/run @@ -17,8 +17,7 @@ timeout ${timeout_argument} "${timeout}" \ bash -c \ "until echo > /dev/tcp/${host}/${port} ; do sleep 0.5; done" \ >/dev/null 2>&1 && bash -c "scrutiny-collector-metrics run" \ -|| { echo "port $port is not available, local devices won't be available"; s6-svscanctl -t /var/run/s6/services } - +|| echo "port $port is not available, local devices won't be available" ############## # CHECK PRIV # @@ -26,5 +25,5 @@ bash -c \ ip link delete dummy0 type dummy >/dev/null; \ ip link add dummy0 type dummy >/dev/null \ -|| {echo "Privileged mode is disabled, the addon will stop"; s6-svscanctl -t /var/run/s6/services } - +|| echo "Privileged mode is disabled, the addon will stop" \ +|| s6-svscanctl -t /var/run/s6/services