diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2020-04-03 10:37:52 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2020-04-03 10:40:30 +0300 |
commit | f25ffdbb1f2402a8aa896882be0a79fd2da763ae (patch) | |
tree | da68ec3b86d9620727f83355781f89bae3cd8794 /include/tests_networking | |
parent | 38a5c2cb79bdf56352555f08472b9ea5c77d0e1f (diff) |
[NETW-2706] redirect errors to stderr
Diffstat (limited to 'include/tests_networking')
-rw-r--r-- | include/tests_networking | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_networking b/include/tests_networking index b182f605..ebca4ee2 100644 --- a/include/tests_networking +++ b/include/tests_networking @@ -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" |