mirror of
https://github.com/pstadler/metrics.sh.git
synced 2025-05-05 00:36:56 -04:00
fix missing git error message
This commit is contained in:
parent
b21a7c1269
commit
81ca6e0e57
@ -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..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user