1
0
mirror of https://github.com/jaygooby/ttfb.sh synced 2025-12-10 16:07:22 +01:00

Fix invalid option for which

This commit is contained in:
Sweepyoface
2019-04-17 23:44:18 -04:00
parent c8088c7f63
commit d55c6df1a0

2
ttfb
View File

@@ -62,7 +62,7 @@ set -eu
# check dependencies
for dependency in curl bc column; do
which -s $dependency || (echo "You need to have '$dependency' installed and in your \$PATH" >&2 && exit 1)
which $dependency > /dev/null || (echo "You need to have '$dependency' installed and in your \$PATH" >&2 && exit 1)
done
# Cribbed from https://stackoverflow.com/a/41762669/391826