Print entire line on error

This commit is contained in:
Thaurin 2025-02-21 17:54:19 +01:00
parent 408a8b14dd
commit 3aeee837f9

View file

@ -361,7 +361,7 @@ else
GotUpdates) GotUpdates+=("$item") ;; GotUpdates) GotUpdates+=("$item") ;;
GotErrors) GotErrors+=("$item") ;; GotErrors) GotErrors+=("$item") ;;
Skip) ;; Skip) ;;
*) echo "Error: invalid result from subprocess! (${item})" ;; *) echo "Error! Unexpected output from subprocess: ${line}" ;;
esac esac
done < <( \ done < <( \
docker ps $Stopped --filter "name=$SearchName" --format '{{.Names}}' | \ docker ps $Stopped --filter "name=$SearchName" --format '{{.Names}}' | \