diff --git a/scripts/Common/Software/docker/main.fish b/scripts/Common/Software/docker/main.fish index bee531a1..c5aa1cd1 100755 --- a/scripts/Common/Software/docker/main.fish +++ b/scripts/Common/Software/docker/main.fish @@ -18,7 +18,7 @@ begin argparse -i "name=" "user=" -- $argv set -l services (getProgramConfig --name "$_flag_name" --json | jq '.services') - for service in (echo "$services" | jq '. | keys[]' --raw-output0 | string split0) + for service in (echo "$services" | jq '. // {} | keys[]' --raw-output0 | string split0) if echo "$services" | SERVICE=$service jq --exit-status ".[env.SERVICE].enable" >/dev/null fish "$dir/services/$service/main.fish" $argv