diff options
Diffstat (limited to '')
-rwxr-xr-x | charts.d/example.chart.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/charts.d/example.chart.sh b/charts.d/example.chart.sh index 1f020dee..93f1cf4f 100755 --- a/charts.d/example.chart.sh +++ b/charts.d/example.chart.sh @@ -48,8 +48,8 @@ example_get() { else example_count=$((1 + (RANDOM * 5 / 32767) )) - [ $example_last -gt 16383 -a $example_value4 -gt 16383 ] && example_value4=$((value4 - 16383)) - [ $example_last -le 16383 -a $example_value4 -lt 16383 ] && example_value4=$((value4 + 16383)) + [ $example_last -gt 16383 -a $example_value4 -gt 16383 ] && example_value4=$((example_value4 - 16383)) + [ $example_last -le 16383 -a $example_value4 -lt 16383 ] && example_value4=$((example_value4 + 16383)) fi example_last=$example_value4 |