diff --git a/scripts/install_plugin.bash b/scripts/install_plugin.bash index 617c979b..6e1fd0b6 100755 --- a/scripts/install_plugin.bash +++ b/scripts/install_plugin.bash @@ -48,7 +48,7 @@ function get_first_binary() { local binary="" for candidate in "${candidates[@]}"; do - if which -s "${candidate}"; then + if which "${candidate}" &>/dev/null; then binary="${candidate}" break