summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/file.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/file.vala b/src/util/file.vala
index 32b7762..c1ee06d 100644
--- a/src/util/file.vala
+++ b/src/util/file.vala
@@ -159,7 +159,7 @@ public time_t query_file_modified(File file) throws Error {
}
public bool query_is_directory(File file) {
- return file.query_file_type(FileQueryInfoFlags.NOFOLLOW_SYMLINKS, null) == FileType.DIRECTORY;
+ return file.query_file_type(FileQueryInfoFlags.NONE, null) == FileType.DIRECTORY;
}
public bool query_is_directory_empty(File dir) throws Error {