summaryrefslogtreecommitdiff
path: root/sdn.cpp
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2017-06-30 21:34:11 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2017-06-30 21:34:11 +0200
commit596b490992bc37c43c50324b5e5c95ac408cdcd4 (patch)
tree0b5cc6035d3cee28885099d6a6fec2d59417ccb0 /sdn.cpp
parent4a9662b00a14ceceb35be4d053fa34d66df1db78 (diff)
downloadsdn-596b490992bc37c43c50324b5e5c95ac408cdcd4.tar.gz
sdn-596b490992bc37c43c50324b5e5c95ac408cdcd4.tar.xz
sdn-596b490992bc37c43c50324b5e5c95ac408cdcd4.zip
Fix inotify display
Diffstat (limited to 'sdn.cpp')
-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)