Fix diff-image.sh

This commit is contained in:
Shiming Zhang 2021-09-16 15:32:00 +08:00
parent c939f7a384
commit f53511e81a
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ function main() {
local list=$(diff-image "${image1}" "${image2}")
local unsync=()
if [[ "${QUICKLY}" != "true" ]] || [[ "${PARALLET}" -eq 0 ]]; then
if [[ "${QUICKLY}" == "true" ]] || [[ "${PARALLET}" -eq 0 ]]; then
for tag in ${list}; do
diff-image-with-tag "${image1}:${tag}" "${image2}:${tag}" >/dev/null || unsync+=("${tag}")
done