aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sdn.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sdn.cpp b/sdn.cpp
index 8f2749b..b824440 100644
--- a/sdn.cpp
+++ b/sdn.cpp
@@ -560,7 +560,7 @@ fun inotify_check () {
for (char *ptr = buf; ptr < buf + len; ptr += sizeof *e + e->len) {
e = (const inotify_event *) buf;
if (e->wd == g.inotify_wd)
- changed = true;
+ changed = g.out_of_date = true;
}
}
if (changed)