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
No related branches found
No related tags found
No related merge requests found
...@@ -85,6 +85,11 @@ function xml_data_generator() ...@@ -85,6 +85,11 @@ function xml_data_generator()
else else
INTERVALID=$(cut -d" " -f1 <<< $line) 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 if test $COUNT -lt 288; then
xml_print xml_print
COUNT=$((${COUNT} + 1)) COUNT=$((${COUNT} + 1))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment