From: John Johansen <[email protected]>

Signed-off-by: John Johansen <[email protected]>
[tyhicks: Forward ported patch to trunk]
Signed-off-by: Tyler Hicks <[email protected]>
---
 parser/parser_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/parser/parser_main.c b/parser/parser_main.c
index 342ee14..6850086 100644
--- a/parser/parser_main.c
+++ b/parser/parser_main.c
@@ -792,7 +792,7 @@ int process_profile(int option, const char *profilename)
                                PERROR("Cache hit: %s\n", cachename);
                        retval = process_binary(option, cachename);
                        if (!retval || skip_bad_cache_rebuild)
-                               goto out;
+                               return retval;
                }
                if (write_cache) {
                        /* Otherwise, set up to save a cached copy */
-- 
2.1.4


-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to