mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 14:25:52 +00:00
Effectively revert revno 1471, and fix the misdetected error condition
so that caching will work again without needing kernel_load.
This commit is contained in:
@@ -895,8 +895,7 @@ int process_profile(int option, char *profilename)
|
||||
goto out;
|
||||
}
|
||||
|
||||
if (kernel_load || option == OPTION_STDOUT || option == OPTION_OFILE)
|
||||
retval = load_policy(option);
|
||||
retval = load_policy(option);
|
||||
|
||||
out:
|
||||
if (cachetemp) {
|
||||
|
Reference in New Issue
Block a user