summaryrefslogtreecommitdiffstats
path: root/src/com.gluster.storage.management.gateway.scripts/src/backend
diff options
context:
space:
mode:
authorTim <timothyasir@gluster.com>2011-08-19 13:49:53 +0530
committerTim <timothyasir@gluster.com>2011-08-19 13:49:53 +0530
commitd0f7dc02bf3cfacd5ec1ca1727302054a5236304 (patch)
tree6bae57039ecffcc3a6aebb0895bae974d3925268 /src/com.gluster.storage.management.gateway.scripts/src/backend
parent3ffc62a00388df6d2e5d59ffd0ec3440985f8796 (diff)
Enhanced rrd_net.pl to continue if input line starts with 'lo:'
Diffstat (limited to 'src/com.gluster.storage.management.gateway.scripts/src/backend')
-rwxr-xr-xsrc/com.gluster.storage.management.gateway.scripts/src/backend/rrd_net.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com.gluster.storage.management.gateway.scripts/src/backend/rrd_net.pl b/src/com.gluster.storage.management.gateway.scripts/src/backend/rrd_net.pl
index c88afced..6ae128fd 100755
--- a/src/com.gluster.storage.management.gateway.scripts/src/backend/rrd_net.pl
+++ b/src/com.gluster.storage.management.gateway.scripts/src/backend/rrd_net.pl
@@ -40,7 +40,7 @@ sub updatenetdata {
chomp;
s/^\s+//; # remove left side whitespaces
/:.+/ or next; # if input line contains ':' else continue
- next if /^lo:\s/; # continue if input line starts with 'lo:'
+ next if /^lo:/; # continue if input line starts with 'lo:'
@tokens1 = split /:/; # split with ':'
$tokens1[1]=~s/^\s+//; # remove left side whitespaces