From 49cc138a14d9380bfd9dfe7aec5f09f00911b93e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Carlos=20Mej=C3=ADas=20Rodr=C3=ADguez?= Date: Sun, 25 Nov 2018 22:46:08 -0500 Subject: [PATCH] Replace && with newlines --- psu | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/psu b/psu index 5cbdf7b..ce308e7 100755 --- a/psu +++ b/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= redirects!' ;; *) echo_error 'Unholy Error!' ;; esac