dot

packages and services management
Log | Files | Refs | README

commit fb2032d991dc6f4b884699a60ca271ae49befad0
parent f374f40ef1642b76600ef1c605f0626b8b8a55ee
Author: Josuah Demangeon <josuah.demangeon@gandi.net>
Date:   Sat,  5 Aug 2017 13:04:52 +0200

monitor/bin/plot: fixing handling of non-missing values

Diffstat:
Mmonitor/bin/plot | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/monitor/bin/plot b/monitor/bin/plot @@ -18,7 +18,7 @@ BEGIN { # find the max and the steps for (x = 1; x <= maxx; x++) { - dots[x] = !(skip[x] = (dots[x] == "?")) + if (skip[x] = (dots[x] == "?")) dots[x] = 0 if (maxy < dots[x]) maxy = dots[x] } if (!height) height = maxy