diff --git a/src/filelister.cpp b/src/filelister.cpp index 4a1eed3..54af556 100644 --- a/src/filelister.cpp +++ b/src/filelister.cpp @@ -88,7 +88,7 @@ bool FileLister::browse(const string& path, bool clean) while (struct dirent *dptr = readdir(dirp)) { // Ignore hidden files and optionally "..". if (dptr->d_name[0] == '.') { - if (!(dptr->d_name[1] == '.' && showUpdir)) { + if (!(dptr->d_name[1] == '.' && showUpdir && slashedPath != "/")) { continue; } }