From e7d371cd2f9b09deb58010ca10fe30073c1157d9 Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Tue, 24 Sep 2024 07:14:55 +0200 Subject: [PATCH] fix --- show-status.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/show-status.sh b/show-status.sh index fd893715..363e988a 100755 --- a/show-status.sh +++ b/show-status.sh @@ -22,7 +22,7 @@ for part in "${parts[@]}"; do params=("$@") # Check if a string is part of the list - if [[ " ${params[@]} " =~ " $1 " ]]; then + if [[ " ${params[@]} " =~ " ${part%.yml} " ]]; then include=$include # don't change anything else include=false @@ -31,12 +31,12 @@ for part in "${parts[@]}"; do if $include; then result=$($BASEPATH/sync-status.sh "${part%.yml}") - if [ "$1" = "${part%.yml}" ]; then - echo "${result}" - exit 0 - else + #if [ "$1" = "${part%.yml}" ]; then + # echo "${result}" + # exit 0 + #else echo "${part%.yml}: $result" - fi + #fi fi done