summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Christopher Adduono <jc@adduono.com>2017-01-14 00:15:01 +0100
committerDees Troy <dees_troy@teamw.in>2017-01-18 16:51:06 +0100
commit1efebdc0bdbab9d9ac2148b7f9b2e0ceb9e9e2f7 (patch)
treefecbba498375e59f026ebb0aea6a76dfa43e252e
parentgui: Detect device resolution with TARGET_SCREEN_HEIGHT/WIDTH (diff)
downloadandroid_bootable_recovery-1efebdc0bdbab9d9ac2148b7f9b2e0ceb9e9e2f7.tar
android_bootable_recovery-1efebdc0bdbab9d9ac2148b7f9b2e0ceb9e9e2f7.tar.gz
android_bootable_recovery-1efebdc0bdbab9d9ac2148b7f9b2e0ceb9e9e2f7.tar.bz2
android_bootable_recovery-1efebdc0bdbab9d9ac2148b7f9b2e0ceb9e9e2f7.tar.lz
android_bootable_recovery-1efebdc0bdbab9d9ac2148b7f9b2e0ceb9e9e2f7.tar.xz
android_bootable_recovery-1efebdc0bdbab9d9ac2148b7f9b2e0ceb9e9e2f7.tar.zst
android_bootable_recovery-1efebdc0bdbab9d9ac2148b7f9b2e0ceb9e9e2f7.zip
Diffstat (limited to '')
-rw-r--r--exclude.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/exclude.cpp b/exclude.cpp
index f992ecf02..789c246e2 100644
--- a/exclude.cpp
+++ b/exclude.cpp
@@ -81,7 +81,7 @@ uint64_t TWExclude::Get_Folder_Size(const string& Path) {
}
if ((st.st_mode & S_IFDIR) && !check_skip_dirs(FullPath) && de->d_type != DT_SOCK) {
dusize += Get_Folder_Size(FullPath);
- } else if (st.st_mode & S_IFREG) {
+ } else if (st.st_mode & S_IFREG || st.st_mode & S_IFLNK) {
dusize += (uint64_t)(st.st_size);
}
}