Minor changes

This commit is contained in:
Gerhard Hoffmann 2022-06-04 21:43:57 +02:00
parent 6741ed8b34
commit 11e8ef90c0

View File

@ -12,7 +12,7 @@ if [ ${news_to_ismas_sourced:-1} = "1" ]; then # include only once
if [ $? -eq 0 ]; then
local trigger="$(echo $json_response | jq -r .Fileupload.TRG)"
log_debug "$func:${LINENO}: apism_trigger=\"$trigger\""
grep -qE "WAIT" <<< "$trigger" && return 0
grep -qE "WAIT" <<< "$trigger" && return 0
else
log_error "$func:${LINENO}: apism request failed"
fi