slitaz-forge diff tank/web/lib/makegraphs @ rev 286
tank: fix graphs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 16 15:53:54 2012 +0200 (2012-04-16) |
parents | be92986c20ed |
children | 602839559efc |
line diff
1.1 --- a/tank/web/lib/makegraphs Sat Apr 07 22:31:56 2012 +0200 1.2 +++ b/tank/web/lib/makegraphs Mon Apr 16 15:53:54 2012 +0200 1.3 @@ -290,8 +290,9 @@ 1.4 for i in /dev/* ; do 1.5 [ $(stat -c "%02t%02T" $i) == $d ] || continue 1.6 echo $i 1.7 - break 1.8 + return 1.9 done 1.10 + df $1 | sed '$!d;s/ .*$//' 1.11 } 1.12 1.13 ###