diff --git a/include/tests_nameservices b/include/tests_nameservices index 6865da73..f59d02a5 100644 --- a/include/tests_nameservices +++ b/include/tests_nameservices @@ -505,13 +505,13 @@ LogText "Result: ypbind is running" Display --indent 2 --text "- Checking ypbind status" --result "FOUND" --color GREEN YPBIND_RUNNING=1 - IsRunning ypldap - if [ ${RUNNING} -eq 1 ]; then - LogText "Result: ypldap is running" - Display --indent 2 --text "- Checking ypldap status" --result "FOUND" --color GREEN - else + IsRunning ypldap + if [ ${RUNNING} -eq 1 ]; then + LogText "Result: ypldap is running" + Display --indent 2 --text "- Checking ypldap status" --result "FOUND" --color GREEN + else ReportSuggestion "Disable the usage of NIS/NIS+ and use an alternative like LDAP or Kerberos instead" - fi + fi else LogText "Result: ypbind is not active" Display --indent 2 --text "- Checking ypbind status" --result "NOT FOUND" --color WHITE