diff --git a/parser/rc.apparmor.functions b/parser/rc.apparmor.functions index 512b6df6a..bd9014cbd 100644 --- a/parser/rc.apparmor.functions +++ b/parser/rc.apparmor.functions @@ -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"