fix readme

This commit is contained in:
Patrick Stadler 2015-03-25 22:50:24 +01:00
parent ff9ed8ac10
commit 72c2be5554
2 changed files with 3 additions and 3 deletions

View File

@ -162,9 +162,9 @@ defaults () {
# if needed. Returning 1 will disable this metric and report a warning.
start () {
if [ $DIR_SIZE_IN_MB = false ]; then
DU_ARGS="-s -m $DIR_SIZE_PATH"
else
DU_ARGS="-s -k $DIR_SIZE_PATH"
else
DU_ARGS="-s -m $DIR_SIZE_PATH"
fi
}

View File

@ -116,7 +116,7 @@ main_collect () {
if is_function __m_${metric_alias}_start; then
__m_${metric_alias}_start
if [ $? -ne 0 ]; then
echo "Warning: metric '${metric_alias}' is disabled after failing to start"
echo "Warning: metric '${metric_alias}' is disabled after it failed to start"
continue
fi
fi