Fixes and improvements

This commit is contained in:
imengying committed 2026-09-12 10:44:35 +08:00
1 parent ce0fe626b2
commit 82f50ae5c0
48 files changed
+63 -63

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ monitor_curl() {
# --fail-with-body was added in curl 7.76; older builds (e.g. CentOS 7 ships
# 7.29) would abort with an unknown-option error, so fall back to --fail.
if curl --help 2>&1 | grep -q -- '--fail-with-body'; then
if curl --help all 2>&1 | grep -q -- '--fail-with-body'; then
CURL_FAIL_FLAG=--fail-with-body
else
CURL_FAIL_FLAG=--fail