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