aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/inotify_update.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/inotify_update.c b/src/inotify_update.c
index 4939aa557..8d9657961 100644
--- a/src/inotify_update.c
+++ b/src/inotify_update.c
@@ -179,8 +179,7 @@ recursive_watch_subdirectories(struct watch_directory *directory,
continue;
child_path_fs = g_strconcat(path_fs, "/", ent->d_name, NULL);
- /* XXX what about symlinks? */
- ret = lstat(child_path_fs, &st);
+ ret = stat(child_path_fs, &st);
if (ret < 0) {
g_warning("Failed to stat %s: %s",
child_path_fs, g_strerror(errno));