rc.apparmor.functions: warn when the profiles directory cannot be found.

We do this for apparmor.conf so let's be consistent.
This commit is contained in:
intrigeri 2018-10-30 14:13:44 +00:00
parent ff617819aa
commit 13d9512287

View file

@ -75,7 +75,10 @@ elif [ -d /etc/apparmor.d ] ; then
PROFILE_DIR=/etc/apparmor.d
elif [ -d /etc/subdomain.d ] ; then
PROFILE_DIR=/etc/subdomain.d
else
aa_log_warning_msg "Unable to find profiles directory, installation problem?"
fi
AA_EV_BIN=/usr/sbin/aa-eventd
AA_EV_PIDFILE=/var/run/aa-eventd.pid
AA_STATUS=/usr/sbin/aa-status