mirror of
https://gitlab.com/psuapp/psu.git
synced 2024-08-30 18:12:34 +00:00
Replace && with newlines
This commit is contained in:
parent
d821155f6b
commit
49cc138a14
10
psu
10
psu
@ -202,8 +202,14 @@ check_for_errors() {
|
||||
case $exit_code in
|
||||
2) echo_error 'Request timed out!' ;;
|
||||
3) echo_error 'Unexpected HTTP 3xx Redirection!' ;;
|
||||
4) echo_error 'HTTP 4xx Client Error!' && echo_error $response ;;
|
||||
5) echo_error 'HTTP 5xx Server Error!' && echo_error $response ;;
|
||||
4)
|
||||
echo_error 'HTTP 4xx Client Error!'
|
||||
echo_error $response
|
||||
;;
|
||||
5)
|
||||
echo_error 'HTTP 5xx Server Error!'
|
||||
echo_error $response
|
||||
;;
|
||||
6) echo_error 'Exceeded --max-redirects=<n> redirects!' ;;
|
||||
*) echo_error 'Unholy Error!' ;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user