#250 webgoat_developer_bootstrap.sh not working with Ubuntu (sh = dash)

This commit is contained in:
Nanne Baars 2016-09-12 22:31:22 +02:00
parent b63f2ae44e
commit d753d8c863

View File

@ -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