Fix inotify display
This commit is contained in:
2
sdn.cpp
2
sdn.cpp
@@ -560,7 +560,7 @@ fun inotify_check () {
|
|||||||
for (char *ptr = buf; ptr < buf + len; ptr += sizeof *e + e->len) {
|
for (char *ptr = buf; ptr < buf + len; ptr += sizeof *e + e->len) {
|
||||||
e = (const inotify_event *) buf;
|
e = (const inotify_event *) buf;
|
||||||
if (e->wd == g.inotify_wd)
|
if (e->wd == g.inotify_wd)
|
||||||
changed = true;
|
changed = g.out_of_date = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (changed)
|
if (changed)
|
||||||
|
|||||||
Reference in New Issue
Block a user