2
0
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:
Steve Beattie
2007-05-24 05:00:34 +00:00
parent 703cad6072
commit c2d927e710
7 changed files with 38 additions and 8 deletions

View File

@@ -422,7 +422,7 @@ apparmor_restart() {
apparmor_try_restart() {
if ! is_apparmor_loaded ; then
return 1
return 0
fi
__apparmor_restart