From 85ee93aec333896611703ae94150290a72adb2aa Mon Sep 17 00:00:00 2001 From: Patrick Stadler Date: Wed, 2 Dec 2015 10:20:16 +0100 Subject: [PATCH] fix update check --- metrics.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics.sh b/metrics.sh index 2b57e0d..9032ab0 100755 --- a/metrics.sh +++ b/metrics.sh @@ -93,7 +93,7 @@ done . ./lib/main.sh if [ $opt_do_update = true ]; then - if ! command_exists foo; then + if ! command_exists git; then echo "Error: --update requires 'git' to be in the PATH" exit 1 fi