silence output of command -v
This commit is contained in:
parent
5deac136ce
commit
b610ed5e59
|
@ -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"} & ;;
|
||||
|
|
Loading…
Reference in a new issue