diff options
author | Tianjie Xu <xunchang@google.com> | 2017-11-06 20:04:34 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-11-06 20:04:34 +0100 |
commit | 16a4cbe79b3b8a010f783a4ea7121f90a844cc0a (patch) | |
tree | a9a7e7a70e52ac3f64c08e8bb99a9a907976a1b6 /applypatch/freecache.cpp | |
parent | Merge "Clean up fuse_sideload and add a testcase." am: 73dca3e983 (diff) | |
parent | Merge "Switch to bionic gtest in bootable/recovery" (diff) | |
download | android_bootable_recovery-16a4cbe79b3b8a010f783a4ea7121f90a844cc0a.tar android_bootable_recovery-16a4cbe79b3b8a010f783a4ea7121f90a844cc0a.tar.gz android_bootable_recovery-16a4cbe79b3b8a010f783a4ea7121f90a844cc0a.tar.bz2 android_bootable_recovery-16a4cbe79b3b8a010f783a4ea7121f90a844cc0a.tar.lz android_bootable_recovery-16a4cbe79b3b8a010f783a4ea7121f90a844cc0a.tar.xz android_bootable_recovery-16a4cbe79b3b8a010f783a4ea7121f90a844cc0a.tar.zst android_bootable_recovery-16a4cbe79b3b8a010f783a4ea7121f90a844cc0a.zip |
Diffstat (limited to '')
-rw-r--r-- | applypatch/freecache.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/applypatch/freecache.cpp b/applypatch/freecache.cpp index 331cae265..0a40baa97 100644 --- a/applypatch/freecache.cpp +++ b/applypatch/freecache.cpp @@ -90,10 +90,9 @@ static std::set<std::string> FindExpendableFiles() { while ((de = readdir(d.get())) != 0) { std::string path = std::string(dirs[i]) + "/" + de->d_name; - // We can't delete CACHE_TEMP_SOURCE; if it's there we might have - // restarted during installation and could be depending on it to - // be there. - if (path == CACHE_TEMP_SOURCE) { + // We can't delete cache_temp_source; if it's there we might have restarted during + // installation and could be depending on it to be there. + if (path == cache_temp_source) { continue; } |