Tools: setup-unit: Pass --fail-with-body to curl(1)
Suggested-by: Liam Crilly <liam@nginx.com> Reviewed-by: Andrew Clayton <a.clayton@nginx.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
parent
d6ed000316
commit
e9a0c49dbc
1 changed files with 1 additions and 1 deletions
|
@ -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};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue