diff --git a/iptv b/iptv index faaad1f..3cc70b5 100755 --- a/iptv +++ b/iptv @@ -416,8 +416,8 @@ find_service_compose() { for known in $(docker.compose config --services); do if [ "$known" = "$svc" ]; then - debug "Сервис '$svc' найден в композе" - echo "iptv-$known" + debug "Сервис '$known' найден в композе" + echo "$known" exit fi done @@ -432,9 +432,8 @@ find_services_compose() { [ "$*" ] && for svc in "$@"; do grep_match "$svc" "^--?.*" && continue - var_dump svc svc="$(find_service_compose "$svc")" - services="$services iptv-$svc" + services="$services $svc" done trim "$services"