Arreglos varios #6

Open
fauno wants to merge 21 commits from arreglos into master
Showing only changes of commit 46541ea34d - Show all commits

View file

@ -23,7 +23,7 @@ while :;do
file=$(get_stack) file=$(get_stack)
[ -z $file ] && continue [ -z $file ] && continue
local_transaction_uuid=$(jq -r '."transaction_uuid"' $stack/$file) local_transaction_uuid=$(jq -r '."transaction_uuid"' $stack/$file)
remote_transaction=$(curl -s --connect-timeout 0,9 --show-error -w "~%{http_code}" -X POST -H "Content-Type: application/json" -d @$stack/$file $url 2> $curl_err) remote_transaction=$(curl -s --connect-timeout 0.9 --show-error -w "~%{http_code}" -X POST -H "Content-Type: application/json" -d @$stack/$file $url 2> $curl_err)
remote_response="$(echo $remote_transaction | cut -d '~' -f 1)" remote_response="$(echo $remote_transaction | cut -d '~' -f 1)"
server_error="$(echo $remote_transaction | cut -d '~' -f 2)" server_error="$(echo $remote_transaction | cut -d '~' -f 2)"
if [ ${#remote_response} -eq 36 ];then if [ ${#remote_response} -eq 36 ];then