mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 16:35:02 +01:00
With the auto cleanup changes we can now directly return the value if we have a cache hit.
Signed-off-by: John Johansen <john.johansen@canonical.com> [tyhicks: Forward ported patch to trunk] Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
This commit is contained in:
parent
f62cc5c6bf
commit
076bc6be7a
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue