From d0f7dc02bf3cfacd5ec1ca1727302054a5236304 Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 19 Aug 2011 13:49:53 +0530 Subject: Enhanced rrd_net.pl to continue if input line starts with 'lo:' --- .../src/backend/rrd_net.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit