From 3bc7352b54f9b1105eee3e4420154eabe0bbb48c Mon Sep 17 00:00:00 2001 From: mag37 Date: Sun, 28 Jan 2024 15:43:33 +0100 Subject: [PATCH] Bugfix zerodivision -s option --- dockcheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockcheck.sh b/dockcheck.sh index b69270c..47b6bdb 100755 --- a/dockcheck.sh +++ b/dockcheck.sh @@ -206,7 +206,7 @@ if [[ -n ${Excludes[*]} ]] ; then fi # Variables for progress_bar function -DocCount=$(docker ps --filter "name=$SearchName" --format '{{.Names}}' | wc -l) +DocCount=$(docker ps $Stopped --filter "name=$SearchName" --format '{{.Names}}' | wc -l) RegCheckQue=0 ### Check the image-hash of every running container VS the registry