From c693dc9ba7898f94ed7ec227074a48910feccef2 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Fri, 3 May 2024 18:43:43 +0100 Subject: [PATCH] fix: prevent daily-live images being downloaded during test --- quickget | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quickget b/quickget index 1ef53c0..8888e18 100755 --- a/quickget +++ b/quickget @@ -1298,12 +1298,12 @@ function zsync_get() { if [ "${OPERATION}" == "show" ]; then echo "${URL}" exit 0 - elif [ "${OPERATION}" == "check" ]; then + elif [ "${OPERATION}" == "test" ]; then if ! web_check "${URL}"; then - check_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "FAIL" + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "FAIL" exit 0 else - check_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "PASS" + test_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "PASS" exit 0 fi elif command -v zsync &>/dev/null; then