mirror of
https://github.com/pstadler/metrics.sh.git
synced 2025-11-29 21:33:29 -05:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
85ee93aec3 | ||
|
|
3a9c155b7e | ||
|
|
81ca6e0e57 |
@@ -94,7 +94,7 @@ done
|
||||
|
||||
if [ $opt_do_update = true ]; then
|
||||
if ! command_exists git; then
|
||||
echo "Error: --update requires `git` to be in the PATH"
|
||||
echo "Error: --update requires 'git' to be in the PATH"
|
||||
exit 1
|
||||
fi
|
||||
echo "Fetching latest version..."
|
||||
@@ -125,7 +125,7 @@ fi
|
||||
if [ -n "$opt_config_file" ]; then
|
||||
verbose "Loading configuration file: $opt_config_file"
|
||||
|
||||
parse_config $opt_config_file
|
||||
parse_config "$opt_config_file"
|
||||
if [ $? -ne 0 ]; then
|
||||
exit 1
|
||||
fi
|
||||
@@ -162,4 +162,4 @@ verbose "Using reporter: $__REPORTER"
|
||||
|
||||
echo "metrics.sh started with PID: $$"
|
||||
verbose "Collecting metrics every $INTERVAL second(s)"
|
||||
main_collect
|
||||
main_collect
|
||||
|
||||
Reference in New Issue
Block a user