mirror of
https://github.com/mag37/dockcheck.git
synced 2026-04-19 02:47:45 +00:00
Add error message; increase number of subprocesses
This commit is contained in:
@@ -361,11 +361,11 @@ else
|
||||
GotUpdates) GotUpdates+=("$item") ;;
|
||||
GotErrors) GotErrors+=("$item") ;;
|
||||
Skip) ;;
|
||||
*) ;;
|
||||
*) echo "Error: invalid result from subprocess! (${item})" ;;
|
||||
esac
|
||||
done < <( \
|
||||
docker ps $Stopped --filter "name=$SearchName" --format '{{.Names}}' | \
|
||||
xargs -P 8 -I {} bash -c 'check_image "{}"' \
|
||||
xargs -P 32 -I {} bash -c 'check_image "{}"' \
|
||||
)
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user