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:
John Johansen 2015-03-25 17:09:26 -05:00 committed by Tyler Hicks
parent f62cc5c6bf
commit 076bc6be7a

View file

@ -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 */