diff options
author | Maniacal <mike.glenney@gmail.com> | 2015-02-06 18:39:30 -0700 |
---|---|---|
committer | Bryan McLellan <btm@chef.io> | 2015-03-19 15:04:51 -0400 |
commit | 12ae73945d776b0afbaa96835276cf9151425d62 (patch) | |
tree | 787edbcd4c9ce411a7df37d266cfa602daa61203 | |
parent | bca3f793912b6785739ae1aa78f2d6578a5d30ea (diff) | |
download | ohai-12ae73945d776b0afbaa96835276cf9151425d62.tar.gz |
Remove redundant if statement
-rw-r--r-- | lib/ohai/plugins/perl.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/ohai/plugins/perl.rb b/lib/ohai/plugins/perl.rb index 30bd6e1a..68baf2f5 100644 --- a/lib/ohai/plugins/perl.rb +++ b/lib/ohai/plugins/perl.rb @@ -35,10 +35,8 @@ Ohai.plugin(:Perl) do perl[:archname] = $1 end end - end - - if so.exitstatus == 0 languages[:perl] = perl end + end end |