From f53511e81a573297b09f2b8ba387d7e6078d1a56 Mon Sep 17 00:00:00 2001 From: Shiming Zhang Date: Thu, 16 Sep 2021 15:32:00 +0800 Subject: [PATCH] Fix diff-image.sh --- scripts/diff-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/diff-image.sh b/scripts/diff-image.sh index 8dfc093..705ff00 100755 --- a/scripts/diff-image.sh +++ b/scripts/diff-image.sh @@ -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