diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/inotify_update.c | 3 |
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)); |