collect: Fix collect time on net-usage inventory.

Signed-off-by: 's avatarEdileuton Henrique de Oliveira <eho09@c3sl.ufpr.br>
parent bcde8c06
......@@ -85,6 +85,11 @@ function xml_data_generator()
else
INTERVALID=$(cut -d" " -f1 <<< $line)
while test $COUNT -lt $INTERVALID -a $COUNT -lt 288; do
COUNT=$((${COUNT} + 1))
increment_time
done
if test $COUNT -lt 288; then
xml_print
COUNT=$((${COUNT} + 1))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment