fix: daily-live not shown in checks
This commit is contained in:
parent
e4c612118e
commit
e5468e47c5
11
quickget
11
quickget
|
@ -1298,9 +1298,14 @@ function zsync_get() {
|
|||
if [ "${OPERATION}" == "show" ]; then
|
||||
echo "${URL}"
|
||||
exit 0
|
||||
elif [ "${OPERATION}" == "test" ]; then
|
||||
web_check "${URL}"
|
||||
exit 0
|
||||
elif [ "${OPERATION}" == "check" ]; then
|
||||
if ! web_check "${URL}"; then
|
||||
check_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "FAIL"
|
||||
exit 0
|
||||
else
|
||||
check_result "${OS}" "${RELEASE}" "${EDITION}" "${URL}" "PASS"
|
||||
exit 0
|
||||
fi
|
||||
elif command -v zsync &>/dev/null; then
|
||||
if [ -n "${3}" ]; then
|
||||
OUT="${3}"
|
||||
|
|
Loading…
Reference in New Issue