mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-05 00:35:13 +00:00
Fix return code propogation in the initscripts, and return the
correct return code in the try-restart case properly when apparmor is not loaded.
This commit is contained in:
@@ -422,7 +422,7 @@ apparmor_restart() {
|
||||
|
||||
apparmor_try_restart() {
|
||||
if ! is_apparmor_loaded ; then
|
||||
return 1
|
||||
return 0
|
||||
fi
|
||||
|
||||
__apparmor_restart
|
||||
|
Reference in New Issue
Block a user