silence output of command -v

This commit is contained in:
speedie 2023-04-07 01:06:25 +02:00
parent 5deac136ce
commit b610ed5e59

View file

@ -126,7 +126,7 @@ parse() {
exec_cmd() {
[ -z "$EXEC" ] && EXEC=shell
command -v post_func && post_func "$dout"
command -v post_func > /dev/null && post_func "$dout"
case "$EXEC" in
"shell") printf "%s" "$dout" | sed "s/#//g" | ${SHELL:-"/bin/sh"} & ;;