diff --git a/usr/lib/byobu/include/common b/usr/lib/byobu/include/common index 34af3a7e..949535c0 100755 --- a/usr/lib/byobu/include/common +++ b/usr/lib/byobu/include/common @@ -23,9 +23,9 @@ if [ -z "${BYOBU_INCLUDED_LIBS}" ]; then . "${BYOBU_PREFIX}/lib/${PKG}/include/dirs" # Find command/type/which - if command -v; then + if command -v 2>/dev/null; then BYOBU_TEST="command -v" - elif type; then + elif type 2>/dev/null; then BYOBU_TEST="type" else BYOBU_TEST="which"