diff --git a/metrics.sh b/metrics.sh index 9b73089..3c2c4fe 100755 --- a/metrics.sh +++ b/metrics.sh @@ -93,8 +93,8 @@ done . ./lib/main.sh if [ $opt_do_update = true ]; then - if ! command_exists git; then - echo "Error: --update requires `git` to be in the PATH" + if ! command_exists foo; then + echo "Error: --update requires 'git' to be in the PATH" exit 1 fi echo "Fetching latest version..." @@ -162,4 +162,4 @@ verbose "Using reporter: $__REPORTER" echo "metrics.sh started with PID: $$" verbose "Collecting metrics every $INTERVAL second(s)" -main_collect \ No newline at end of file +main_collect