diff --git a/testssl.sh b/testssl.sh index d7c657f..20181f5 100755 --- a/testssl.sh +++ b/testssl.sh @@ -1144,7 +1144,7 @@ html_footer() { toupper() { echo -n "${1^^}" ; } tolower() { echo -n "${1,,}" ; } -if ! toupper aaa 2>/dev/null; then +if ! toupper aaa 2>&1 >/dev/null; then # Older bash can't do this (MacOS X), even SLES 11, see #697 toupper() { tr 'a-z' 'A-Z' <<< "$1"; } tolower() { tr 'A-Z' 'a-z' <<< "$1"; } @@ -11026,7 +11026,7 @@ mybanner() { bb1=$(cat <>${LOGFILE} tmln_out "## at $HNAME:$OPENSSL_LOCATION" >>${LOGFILE}