From 1ba54395ac6235963e2a6feddbcc693c1f4cc0d9 Mon Sep 17 00:00:00 2001
From: Diego Giovane Pasqualin <dpasqualin@c3sl.ufpr.br>
Date: Tue, 12 Aug 2014 17:30:13 -0300
Subject: [PATCH] bandwidth-usage.tree: Fix indentation

Signed-off-by: Diego Giovane Pasqualin <dpasqualin@c3sl.ufpr.br>
---
 .../net-collected-data/bandwidth-usage.tree            | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/agent/network-scripts/net-collected-data/bandwidth-usage.tree b/agent/network-scripts/net-collected-data/bandwidth-usage.tree
index 091ed29..4a13934 100755
--- a/agent/network-scripts/net-collected-data/bandwidth-usage.tree
+++ b/agent/network-scripts/net-collected-data/bandwidth-usage.tree
@@ -85,7 +85,7 @@ function xml_data_generator()
             else
                 INTERVALID=$(cut -d" " -f1 <<< $line)
 
-		while test $COUNT -lt $INTERVALID -a $COUNT -lt 288; do
+                while test $COUNT -lt $INTERVALID -a $COUNT -lt 288; do
                      COUNT=$((${COUNT} + 1))
                      increment_time
                 done
@@ -97,9 +97,9 @@ function xml_data_generator()
                 fi
             fi
         done < $TRAFFIC
-	else
-		# If date in TRAFFIC file is older than 15 days then remove the file.
-		rm -f $TRAFFIC
+    else
+        # If date in TRAFFIC file is older than 15 days then remove the file.
+        rm -f $TRAFFIC
     fi
 
 }
@@ -132,6 +132,6 @@ do
     TRAFFIC="${TRAFFICS}/${TRAFFIC}"
     if test -s ${TRAFFIC}; then
         xml_data_generator
-    fi        
+    fi
 done
 exit 0
-- 
GitLab