mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 05:17:59 +00:00
fix init script so that it doesn't result in a regex with a null alternation ie. |apparmor
This commit is contained in:
parent
e9fd1d8fc1
commit
482b8741b7
@ -103,7 +103,8 @@ STATUS=0
|
||||
|
||||
# Test if the apparmor "module" is present.
|
||||
is_apparmor_present() {
|
||||
local modules=""
|
||||
local modules=$1
|
||||
shift
|
||||
|
||||
while [ $# -gt 0 ] ; do
|
||||
modules="$modules|$1"
|
||||
|
Loading…
x
Reference in New Issue
Block a user