diff --git a/lib/utils.sh b/lib/utils.sh index d8c7d42..6b8d668 100644 --- a/lib/utils.sh +++ b/lib/utils.sh @@ -158,10 +158,7 @@ is_confirmed() { # fi # type_exists() { - if [ "$(type -P "$1")" ]; then - return 0 - fi - return 1 + [ "$(type -P "$1")" ] } #