2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

rc.apparmor.functions: delete disabled profile handling code.

It duplicates the parser's default behaviour.
This commit is contained in:
intrigeri
2018-10-30 14:07:26 +00:00
parent 222943eb3b
commit ff617819aa

View File

@@ -117,7 +117,6 @@ skip_profile() {
local profile=$1
if [ "${profile%.rpmnew}" != "${profile}" -o \
"${profile%.rpmsave}" != "${profile}" -o \
-e "${PROFILE_DIR}/disable/`basename ${profile}`" -o \
"${profile%\~}" != "${profile}" ] ; then
return 1
fi