diff --git a/webgoat_developer_bootstrap.sh b/webgoat_developer_bootstrap.sh index d40151483..f3baf7d56 100755 --- a/webgoat_developer_bootstrap.sh +++ b/webgoat_developer_bootstrap.sh @@ -47,7 +47,7 @@ hr() { ## test if command exists ftest() { echo -e "$COL_CYAN info: Checking if ${1} is installed $COL_RESET" - if ! type -f "${1}" > /dev/null 2>&1; then + if ! type "${1}" > /dev/null 2>&1; then return 1 else return 0