mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-08-29 17:47:38 +02:00
Fix timestamp date when --logfile is a dir and other cases
This fixes #3121 , a bug which was introduced in ceb24740a3 because
`prepare_logging()` expected an argument to pass the time stamp.
This PR adds "${FNAME_DATE}" as it has been in 3.3dev when creating this backport.
This commit is contained in:
+1
-1
@@ -25138,7 +25138,7 @@ lets_roll() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
[[ -z "$NODE" ]] && parse_hn_port "${URI}" # NODE, URL_PATH, PORT, IPADDRs and IP46ADDR is set now
|
[[ -z "$NODE" ]] && parse_hn_port "${URI}" # NODE, URL_PATH, PORT, IPADDRs and IP46ADDR is set now
|
||||||
prepare_logging
|
prepare_logging "${FNAME_DATE}"
|
||||||
|
|
||||||
if [[ -n "$PROXY" ]] && $DNS_VIA_PROXY; then
|
if [[ -n "$PROXY" ]] && $DNS_VIA_PROXY; then
|
||||||
NODEIP="$NODE"
|
NODEIP="$NODE"
|
||||||
|
|||||||
Reference in New Issue
Block a user