commit 5cc98987c54581ada09f496f7285a4882db104e2 parent 5fba2ba74929968beaaa25e7de5f878eaa935a5c Author: Luuk van Baal <luukvbaal@gmail.com> Date: Sun, 16 May 2021 13:02:12 +0200 Fix preview-tui zombie pager Diffstat:
| M | plugins/preview-tui | | | 2 | +- |
| M | plugins/preview-tui-ext | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/preview-tui b/plugins/preview-tui @@ -307,8 +307,8 @@ if [ "$PREVIEW_MODE" ]; then preview_file "$PWD/$1" preview_fifo & wait "$!" - rm "$PAGERPID" "$IMGPID" "$CURSEL" "$FIFO_UEBERZUG" "$FIFOPID" 2>/dev/null pkill -P "$$" + rm "$PAGERPID" "$IMGPID" "$CURSEL" "$FIFO_UEBERZUG" "$FIFOPID" 2>/dev/null else if [ ! -r "$NNN_FIFO" ]; then clear diff --git a/plugins/preview-tui-ext b/plugins/preview-tui-ext @@ -404,8 +404,8 @@ if [ "$PREVIEW_MODE" ]; then preview_file "$PWD/$1" preview_fifo & wait "$!" - rm "$PAGERPID" "$IMGPID" "$CURSEL" "$FIFO_UEBERZUG" "$FIFOPID" 2>/dev/null pkill -P "$$" + rm "$PAGERPID" "$IMGPID" "$CURSEL" "$FIFO_UEBERZUG" "$FIFOPID" 2>/dev/null else if [ ! -r "$NNN_FIFO" ]; then clear