summaryrefslogtreecommitdiffstats
path: root/dev-shell
diff options
context:
space:
mode:
Diffstat (limited to 'dev-shell')
-rwxr-xr-xdev-shell5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-shell b/dev-shell
index 558ee61..8bb75d1 100755
--- a/dev-shell
+++ b/dev-shell
@@ -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