summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xtools/setup-unit2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/setup-unit b/tools/setup-unit
index 8466e882..48e5c998 100755
--- a/tools/setup-unit
+++ b/tools/setup-unit
@@ -510,7 +510,7 @@ unit_ctl_http()
fi;
local req_path="$2";
- curl $curl_options -X $method -d@- \
+ curl --fail-with-body $curl_options -X $method -d@- \
$(echo "$sock" | unit_sock_filter -c)${req_path};
}