mirror of
https://github.com/jarun/nnn.git
synced 2025-03-01 20:39:20 +00:00
Notify FIFO readers on exit (if any) (#581)
This allows to close preview windows opened just before exiting nnn.
This commit is contained in:
parent
b465bf9427
commit
0c916ae7b0
1 changed files with 1 additions and 0 deletions
|
@ -7291,6 +7291,7 @@ int main(int argc, char *argv[])
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef NOFIFO
|
#ifndef NOFIFO
|
||||||
|
notify_fifo();
|
||||||
if (fifofd != -1)
|
if (fifofd != -1)
|
||||||
close(fifofd);
|
close(fifofd);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue