From 8eced6c5d4a502b7fa6faad77a2f76c6007c2766 Mon Sep 17 00:00:00 2001 From: Luuk van Baal Date: Sun, 16 May 2021 22:56:47 +0200 Subject: [PATCH] Hide terminated message in preview-tui --- plugins/preview-tui | 2 +- plugins/preview-tui-ext | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/preview-tui b/plugins/preview-tui index 854907bc..f4cee6c9 100755 --- a/plugins/preview-tui +++ b/plugins/preview-tui @@ -306,7 +306,7 @@ if [ "$PREVIEW_MODE" ]; then printf "%s" "$PWD/$1" > "$CURSEL" preview_file "$PWD/$1" preview_fifo & - wait "$!" + wait "$!" 2>/dev/null pkill -P "$$" rm "$PAGERPID" "$IMGPID" "$CURSEL" "$FIFO_UEBERZUG" "$FIFOPID" 2>/dev/null else diff --git a/plugins/preview-tui-ext b/plugins/preview-tui-ext index c88389b9..e10cad85 100755 --- a/plugins/preview-tui-ext +++ b/plugins/preview-tui-ext @@ -403,7 +403,7 @@ if [ "$PREVIEW_MODE" ]; then printf "%s" "$PWD/$1" > "$CURSEL" preview_file "$PWD/$1" preview_fifo & - wait "$!" + wait "$!" 2>/dev/null pkill -P "$$" rm "$PAGERPID" "$IMGPID" "$CURSEL" "$FIFO_UEBERZUG" "$FIFOPID" 2>/dev/null else