core-system-scripts

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

commit 363456f7ddd1e52038388d60f998ae4f16d374bd
parent e70402163f5692331189094a98bd9d9eb61fa2bc
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Thu, 28 Jul 2022 23:21:46 +0200

Actually call s6-svstat

Diffstat:
Mcommand/s | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/command/s b/command/s @@ -51,7 +51,7 @@ show_longruns() { local s svcdir state active for svcdir in /run/service/*(/); do s=$svcdir:t - if sv_stat=( s6-svstat $svcdir ); then + if sv_stat=( $(s6-svstat $svcdir) ); then state=$sv_stat[1] [[ $state == up && $sv_stat[3] == ? ]] && state=starting else