Skip to content

Commit

Permalink
trimstray#24 - fixed "Connection error (https not detected)" for ssl_…
Browse files Browse the repository at this point in the history
…test_state

- signed-off-by: trimstray <[email protected]>
  • Loading branch information
trimstray committed Dec 10, 2018
1 parent 1740329 commit ea560f1
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/__init__
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,9 @@ function __main__() {
echo

# shellcheck disable=SC2154
if [[ "$_last_http_scheme" == "https" ]] ; then
if [[ "$ssl_test_state" -eq 1 ]] ; then

if [[ "$ssl_test_state" -eq 1 ]] ; then
if [[ "$_last_http_scheme" == "https" ]] ; then

DomainStrip "$_http_last"

Expand All @@ -466,13 +466,13 @@ function __main__() {

echo

fi
else

else
# shellcheck disable=SC2086,SC2154
printf '\r\n \e['${e_trgb}'m%s\e[m\n\n' "Connection error (https not detected)"
tput sgr0

# shellcheck disable=SC2086,SC2154
printf '\r\n \e['${e_trgb}'m%s\e[m\n\n' "Connection error (https not detected)"
tput sgr0
fi

fi

Expand Down

0 comments on commit ea560f1

Please sign in to comment.