diff options
Diffstat (limited to 'dev-shell')
-rwxr-xr-x | dev-shell | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -48,7 +48,8 @@ function _acf_start_req { local id=$(parse_var $hdr "$resp") eval export $var=$id - bash --rcfile "$ACF_QD_CLI" && _acf_req $url -X DELETE + bash --rcfile "$ACF_QD_CLI" + [ $? -eq 254 ] || _acf_req $url -X DELETE eval $var=$current } @@ -116,7 +117,7 @@ EOF if [ "$ACF_TXN_ID" ]; then if _acf_req /transaction -X PUT; then echo Committed >&2 - exit 1 + exit 254 fi else echo "No transaction started" >&2 |