Fix inotify display
This commit is contained in:
parent
4a9662b00a
commit
596b490992
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)
|
||||||
|
|
Loading…
Reference in New Issue