Swap uppercase/lowercase for ssh feature (#123)

This commit is contained in:
Dave Wikoff 2018-04-29 20:31:30 -04:00 committed by Paul Irish
parent d24f64da48
commit 995e91591f

View file

@ -70,7 +70,7 @@ function ssh_resolve() {
# Host regex
# HostName resolved.domain.com
read -r -a ssh_array <<<"${ssh_line}"
ssh_optcode="$(echo "${ssh_array[0]}" | tr '[:upper:]' '[:lower:]')"
ssh_optcode="$(echo "${ssh_array[0]}" | tr '[:lower:]' '[:upper:]')"
if [[ $ssh_optcode == HOST ]]; then
# Host
ssh_found=false