commit 8eced6c5d4a502b7fa6faad77a2f76c6007c2766
parent 5cc98987c54581ada09f496f7285a4882db104e2
Author: Luuk van Baal <luukvbaal@gmail.com>
Date: Sun, 16 May 2021 22:56:47 +0200
Hide terminated message in preview-tui
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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
@@ -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