This commit is contained in:
Viktor Szakats 2025-08-05 15:46:49 +02:00
parent 588a0d8da7
commit 5d957d80d2
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201

View file

@ -163,9 +163,9 @@ function cli_test()
IFS=" " read -r -a echparms <<< "${@:4}"
TMPF=$(mktemp)
cmd="timeout $tout $CURL ${CURL_PARAMS[*]} ${echparms[*]} $turl >$TMPF 2>&1"
cmd="timeout $tout $CURL ${CURL_PARAMS[*]} ${echparms[*]} $turl > $TMPF 2>&1"
echo "cli_test: $cmd " >> "$logfile"
timeout "$tout" "$CURL" "${CURL_PARAMS[@]}" "${echparms[@]}" "$turl" >"$TMPF" 2>&1
timeout "$tout" "$CURL" "${CURL_PARAMS[@]}" "${echparms[@]}" "$turl" > "$TMPF" 2>&1
eres=$?
if [[ "$eres" == "124" ]]; then
allgood="no"