[apparmor] parser fix: Warning failed to create cache on remove
John Johansen
john.johansen at canonical.com
Sun Nov 15 21:26:51 UTC 2015
The parser is issuing
"Warning failed to create cache"
when profile removal fails. Make it so the parser doesn't warn about cache when removing profiles.
Signed-off-by: John Johansen <john.johansen at canonical.com>
---
=== modified file 'parser/parser_main.c'
--- parser/parser_main.c 2015-09-01 10:12:08 +0000
+++ parser/parser_main.c 2015-11-15 21:23:11 +0000
@@ -317,6 +317,7 @@
count++;
option = OPTION_REMOVE;
skip_cache = 1;
+ write_cache = 0;
break;
case 'V':
display_version();
More information about the AppArmor
mailing list