mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +00:00
Merge pull request #1053 from luukvbaal/preview-tui
Suppress pgrep output
This commit is contained in:
commit
4637a5a84d
|
@ -380,7 +380,7 @@ winch_handler() {
|
||||||
tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser json &
|
tail --follow "$FIFO_UEBERZUG" | ueberzug layer --silent --parser json &
|
||||||
fi
|
fi
|
||||||
preview_file "$(cat "$CURSEL")"
|
preview_file "$(cat "$CURSEL")"
|
||||||
if ! kill -0 "$NNN_PARENT" || ! pgrep nnn; then
|
if ! kill -0 "$NNN_PARENT" || ! pgrep nnn >/dev/null; then
|
||||||
pkill -P "$$"
|
pkill -P "$$"
|
||||||
fi
|
fi
|
||||||
} 2>/dev/null
|
} 2>/dev/null
|
||||||
|
|
Loading…
Reference in a new issue