diff options
| author | Shireesh Anjal <anjalshireesh@gmail.com> | 2011-08-19 05:03:39 -0700 |
|---|---|---|
| committer | Shireesh Anjal <anjalshireesh@gmail.com> | 2011-08-19 05:03:39 -0700 |
| commit | c4e4d9d1ece1c32f897b379ba36d0959f26c1b55 (patch) | |
| tree | a0b9aeb8b4faf9b8956c93bbcdae99c87ba96a50 /src | |
| parent | 7a84412ff29f0c0491d8f01528eedf2774bb1eeb (diff) | |
| parent | d0f7dc02bf3cfacd5ec1ca1727302054a5236304 (diff) | |
Merge pull request #252 from TimothyAsir/master
Enhanced rrd_net.pl to continue if input line starts with 'lo:'
Diffstat (limited to 'src')
| -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 |
