Skip to content
Snippets Groups Projects
Commit 89d489a3 authored by Erik Alexandre Pucci's avatar Erik Alexandre Pucci Committed by Josiney de Souza
Browse files

bandwidth-usage.tree: Changed $PREVIOUS_TRAFFIC exit value from 1 to 0


Changed to continue the generation of the XML file, even when there's no
bandwidth usage collected data.

Signed-off-by: default avatarErik Alexandre Pucci <eap08@c3sl.ufpr.br>
Signed-off-by: default avatarJosiney de Souza <josineys@c3sl.ufpr.br>
parent 03cae796
Branches
Tags
No related merge requests found
...@@ -162,8 +162,8 @@ fi ...@@ -162,8 +162,8 @@ fi
PREVIOUS_TRAFFIC="${PREFIX}/../../../net/previous-traffic.txt" PREVIOUS_TRAFFIC="${PREFIX}/../../../net/previous-traffic.txt"
test -f "${PREVIOUS_TRAFFIC}" || exit 1 test -f "${PREVIOUS_TRAFFIC}" || exit 0
test -s $PREVIOUS_TRAFFIC || exit 1 test -s $PREVIOUS_TRAFFIC || exit 0
# Call the function xml_data_generator to generate the data to XML # Call the function xml_data_generator to generate the data to XML
xml_data_generator xml_data_generator
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment