Skip to content
Snippets Groups Projects
Commit 61aa7df5 authored by Edileuton Henrique de Oliveira's avatar Edileuton Henrique de Oliveira
Browse files

collect: Fix collect time on net-usage inventory.

parent bcde8c06
Branches
No related tags found
No related merge requests found
......@@ -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))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment