@cryptotaxi247 / netdata-1 / commits / b904a09e6

prefer wider graphs

Costa Tsaousis committed Oct 22, 2013 at 13:12 UTC b904a09e6406c72c3fdd5b1b9a092da240f019c6
1 file changed +3 -3
netdata.start
+3 -3
@@ -113,11 +113,11 @@ do
113 done
114
115 # prefer to have wider graphs
116 -if [ $w -gt $h ]
117 -then
116 +while [ $w -ge $h ]
117 +do
118 w=$[w-1]
119 h=$[h+1]
120 -fi
120 +done
121
122 # make sure we don't display too small graphs
123 if [ $w -gt 10 ]