mirror of
https://github.com/natelandau/shell-scripting-templates.git
synced 2025-11-11 14:33:47 -05:00
shellcheck improvements
This commit is contained in:
@@ -42,7 +42,7 @@ _httpStatus_() {
|
||||
--no-keepalive "${_curlops}" --output /dev/null "${_url}")
|
||||
|
||||
# __________ get the STATUS (from code) which is human interpretable:
|
||||
case $_code in
|
||||
case ${_code} in
|
||||
000) _status="Not responding within ${_timeout} seconds" ;;
|
||||
100) _status="Informational: Continue" ;;
|
||||
101) _status="Informational: Switching Protocols" ;;
|
||||
|
||||
Reference in New Issue
Block a user