diff options
author | kaustubh-d <kaustubh@clogeny.com> | 2013-07-31 04:45:40 -0700 |
---|---|---|
committer | adamedx <adamed@opscode.com> | 2013-09-23 16:02:49 -0700 |
commit | 225c6a69b1ac8b426e25dfe0af88bac2fb5ceedd (patch) | |
tree | 5eebd7f8419fcd3f91d0c5d5fa89920687bccb20 | |
parent | a336ca3e9715083531c5ec895ca402d69df654e8 (diff) | |
download | ohai-225c6a69b1ac8b426e25dfe0af88bac2fb5ceedd.tar.gz |
minor code style fix.
-rw-r--r-- | lib/ohai/plugins/aix/network.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/aix/network.rb b/lib/ohai/plugins/aix/network.rb index d7668d2b..524d7a08 100644 --- a/lib/ohai/plugins/aix/network.rb +++ b/lib/ohai/plugins/aix/network.rb @@ -120,7 +120,7 @@ popen4("lsdev -Cc if") do |pid, stdin, stdout, stderr| end # Query routes information -['inet', 'inet6'].each do |family| +%w{inet inet6}.each do |family| popen4("netstat -nrf #{family}") do |n_pid, n_stdin, n_stdout, n_stderr| n_stdin.close n_stdout.each do |line| |