diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -4691,11 +4691,13 @@ static void notify_fifo() } static char *name = NULL; + static time_t t = {0}; - if (dents[cur].name == name) + if (dents[cur].name == name && dents[cur].t == t) return; name = dents[cur].name; + t = dents[cur].t; char path[PATH_MAX]; size_t len = mkpath(g_ctx[cfg.curctx].c_path, ndents ? name : "", path); |