From d55c6df1a098a23d60453f33559603aba5864f24 Mon Sep 17 00:00:00 2001 From: Sweepyoface Date: Wed, 17 Apr 2019 23:44:18 -0400 Subject: [PATCH] Fix invalid option for which --- ttfb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ttfb b/ttfb index 0f9e49c..3a4cb1f 100755 --- a/ttfb +++ b/ttfb @@ -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