3 Commits
0.2.3 ... 0.2.4

Author SHA1 Message Date
Patrick Stadler
85ee93aec3 fix update check 2015-12-02 10:20:16 +01:00
Patrick Stadler
3a9c155b7e fix potential word splitting problem 2015-12-02 10:16:06 +01:00
Patrick Stadler
81ca6e0e57 fix missing git error message 2015-12-02 10:11:10 +01:00

View File

@@ -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