diff options
author | bigbiff bigbiff <bigbiff@teamw.in> | 2013-07-12 00:50:29 +0200 |
---|---|---|
committer | Dees_Troy <dees_troy@teamw.in> | 2013-08-28 17:06:18 +0200 |
commit | 616afed985266ed8ce1851d744808645ff961829 (patch) | |
tree | a4d53f0528e49ecaf49433bd7c02f95d6621f61d /twrp-functions.cpp | |
parent | Add a TW_NO_TIMEOUT option (diff) | |
download | android_bootable_recovery-616afed985266ed8ce1851d744808645ff961829.tar android_bootable_recovery-616afed985266ed8ce1851d744808645ff961829.tar.gz android_bootable_recovery-616afed985266ed8ce1851d744808645ff961829.tar.bz2 android_bootable_recovery-616afed985266ed8ce1851d744808645ff961829.tar.lz android_bootable_recovery-616afed985266ed8ce1851d744808645ff961829.tar.xz android_bootable_recovery-616afed985266ed8ce1851d744808645ff961829.tar.zst android_bootable_recovery-616afed985266ed8ce1851d744808645ff961829.zip |
Diffstat (limited to 'twrp-functions.cpp')
-rw-r--r-- | twrp-functions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/twrp-functions.cpp b/twrp-functions.cpp index 1d2d63229..e54e760ab 100644 --- a/twrp-functions.cpp +++ b/twrp-functions.cpp @@ -185,7 +185,7 @@ unsigned long long TWFunc::Get_Folder_Size(const string& Path, bool Display_Erro while ((de = readdir(d)) != NULL) { - if (de->d_type == DT_DIR && strcmp(de->d_name, ".") != 0 && strcmp(de->d_name, "..") != 0) + if (de->d_type == DT_DIR && strcmp(de->d_name, ".") != 0 && strcmp(de->d_name, "..") != 0 && strcmp(de->d_name, "lost+found") != 0) { dutemp = Get_Folder_Size((Path + "/" + de->d_name), Display_Error); dusize += dutemp; |