- fix incorrect call to test in the kadmin init script

This commit is contained in:
Nalin Dahyabhai 2007-09-06 20:07:18 +00:00
parent b54c6a0718
commit c4bb3c531c

View File

@ -32,7 +32,7 @@ start() {
if [ ! -f /var/kerberos/krb5kdc/principal ] ; then
# Make an educated guess -- if they're using kldap somewhere,
# then we don't know for sure that this is an error.
if [ ! grep -q 'db_library.*=.*kldap' /etc/krb5.conf ] ; then
if ! grep -q 'db_library.*=.*kldap' /etc/krb5.conf ; then
echo $"Error. Default principal database does not exist."
fi
exit 0