diff options
author | Tim <timothyasir@gluster.com> | 2011-08-19 13:49:53 +0530 |
---|---|---|
committer | Tim <timothyasir@gluster.com> | 2011-08-19 13:49:53 +0530 |
commit | d0f7dc02bf3cfacd5ec1ca1727302054a5236304 (patch) | |
tree | 6bae57039ecffcc3a6aebb0895bae974d3925268 /src/com.gluster.storage.management.gateway.scripts/src/backend | |
parent | 3ffc62a00388df6d2e5d59ffd0ec3440985f8796 (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-x | src/com.gluster.storage.management.gateway.scripts/src/backend/rrd_net.pl | 2 |
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 |