mirror of
https://github.com/pstadler/metrics.sh.git
synced 2025-02-28 13:59:12 -05:00
fix update check
This commit is contained in:
parent
3a9c155b7e
commit
85ee93aec3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user