mirror of
https://github.com/CISOfy/lynis.git
synced 2026-03-11 08:55:28 +00:00
[NETW-2706] redirect errors to stderr
This commit is contained in:
parent
38a5c2cb79
commit
f25ffdbb1f
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@
|
|||
if [ ${SKIPTEST} -eq 0 ]; then
|
||||
SKIP=0
|
||||
if [ -n "${RESOLVECTLBINARY}" ]; then
|
||||
DNSSEC_STATUS=$(${RESOLVECTLBINARY} statistics | ${AWKBINARY} -F ":" '/DNSSEC supported/ { print $2 }' | ${TRBINARY} -d ' ')
|
||||
DNSSEC_STATUS=$(${RESOLVECTLBINARY} statistics 2> /dev/null | ${AWKBINARY} -F ":" '/DNSSEC supported/ { print $2 }' | ${TRBINARY} -d ' ')
|
||||
if [ "${DNSSEC_STATUS}" = "yes" ]; then
|
||||
Display --indent 4 --text "- DNSSEC supported (systemd-resolved)" --result "${STATUS_OK}" --color GREEN
|
||||
LogText "Result: DNSSEC supported by systemd-resolved and upstream DNS servers"
|
||||
|
|
|
|||
Loading…
Reference in a new issue