diff --git a/include/tests_kerberos b/include/tests_kerberos index 9ef86267..98fccfa6 100644 --- a/include/tests_kerberos +++ b/include/tests_kerberos @@ -14,7 +14,7 @@ InsertSection "${SECTION_KERBEROS}" PREQS_MET="YES" # Make sure krb5 debugging doesn't mess up the output unset KRB5_TRACE - PRINCS="$(${KADMINLOCALBINARY} listprincs | ${TRBINARY:-tr} '\n' ' ')" + PRINCS="$(${KADMINLOCALBINARY} listprincs 2>/dev/null | ${TRBINARY:-tr} '\n' ' ')" if [ -z "${PRINCS}" ] then PREQS_MET="NO"