From 3aeee837f9bb426f9c65534b7bab2a29d8525aa4 Mon Sep 17 00:00:00 2001 From: Thaurin Date: Fri, 21 Feb 2025 17:54:19 +0100 Subject: [PATCH] Print entire line on error --- dockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockcheck.sh b/dockcheck.sh index 0327b27..13bf6e2 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -361,7 +361,7 @@ else GotUpdates) GotUpdates+=("$item") ;; GotErrors) GotErrors+=("$item") ;; Skip) ;; - *) echo "Error: invalid result from subprocess! (${item})" ;; + *) echo "Error! Unexpected output from subprocess: ${line}" ;; esac done < <( \ docker ps $Stopped --filter "name=$SearchName" --format '{{.Names}}' | \