mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-30 21:35:26 +01:00 
			
		
		
		
	"post-fix" for #697 (2.9dev)
This commit is contained in:
		| @@ -1144,7 +1144,7 @@ html_footer() { | |||||||
|  |  | ||||||
| toupper() { echo -n "${1^^}" ;  } | toupper() { echo -n "${1^^}" ;  } | ||||||
| tolower() { 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 |      # Older bash can't do this (MacOS X), even SLES 11, see #697 | ||||||
|      toupper() { tr 'a-z' 'A-Z' <<< "$1"; } |      toupper() { tr 'a-z' 'A-Z' <<< "$1"; } | ||||||
|      tolower() { tr 'A-Z' 'a-z' <<< "$1"; } |      tolower() { tr 'A-Z' 'a-z' <<< "$1"; } | ||||||
| @@ -11215,7 +11215,7 @@ prepare_logging() { | |||||||
|      fi |      fi | ||||||
|  |  | ||||||
|      if ! "$APPEND"; then |      if ! "$APPEND"; then | ||||||
|           [[ -e $LOGFILE ]] && fatal "\"$LOGFILE\" exists. Either use \"--append\" or (re)move it" 1 |           [[ -e $LOGFILE ]] && outln && fatal "\"$LOGFILE\" exists. Either use \"--append\" or (re)move it" 1 | ||||||
|      fi |      fi | ||||||
|      tmln_out "## Scan started as: \"$PROG_NAME $CMDLINE\"" >>${LOGFILE} |      tmln_out "## Scan started as: \"$PROG_NAME $CMDLINE\"" >>${LOGFILE} | ||||||
|      tmln_out "## at $HNAME:$OPENSSL_LOCATION" >>${LOGFILE} |      tmln_out "## at $HNAME:$OPENSSL_LOCATION" >>${LOGFILE} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk
					Dirk