core-system-scripts

Scripts submodule for the core-system repository
git clone https://ccx.te2000.cz/git/core-system-scripts
Log | Files | Refs

commit d98efbf5f242b9c0f0ef7556889b5b607f5d19b7
parent c6b56f2f05e429ca3d3e23f6a38337016f1a4d2d
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Fri, 29 Jul 2022 01:49:35 +0200

Fix parameter reference

Diffstat:
Mcommand/s | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/command/s b/command/s @@ -70,10 +70,10 @@ load_svstat() { for svcdir in /run/service/*(-/); do s=$svcdir:t if svstat=( $(s6-svstat $svcdir) ); then - $service_stat[$s]=$svstat[1] - [[ $$service_stat[$s] == up && $svstat[3] == ? ]] && $service_stat[$s]=starting + service_stat[$s]=$svstat[1] + [[ $service_stat[$s] == up && $svstat[3] == ? ]] && service_stat[$s]=starting else - $service_stat[$s]=err + service_stat[$s]=err fi done }