From 0c916ae7b024c961df1ab1797035ee80501f66e3 Mon Sep 17 00:00:00 2001 From: lvgx Date: Tue, 19 May 2020 18:59:13 +0200 Subject: [PATCH] Notify FIFO readers on exit (if any) (#581) This allows to close preview windows opened just before exiting nnn. --- src/nnn.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/nnn.c b/src/nnn.c index c5a5e89b..8d6db369 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -7291,6 +7291,7 @@ int main(int argc, char *argv[]) #endif #ifndef NOFIFO + notify_fifo(); if (fifofd != -1) close(fifofd); #endif