diff options
author | kaustubh-d <kaustubh@clogeny.com> | 2013-07-31 04:45:40 -0700 |
---|---|---|
committer | adamedx <adamed@opscode.com> | 2013-08-19 11:52:45 -0700 |
commit | 6a0d1f1f14dae7156b28b02749dc6f3e20dda4ef (patch) | |
tree | 8a0e5578524df6d9954a9c1cf4f769ca19005aa9 | |
parent | 25ebdd161cae3eb756c25e2a93e9253d8a1e9422 (diff) | |
download | ohai-6a0d1f1f14dae7156b28b02749dc6f3e20dda4ef.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| |