summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManiacal <mike.glenney@gmail.com>2015-02-06 18:39:30 -0700
committerBryan McLellan <btm@chef.io>2015-03-19 15:04:51 -0400
commit12ae73945d776b0afbaa96835276cf9151425d62 (patch)
tree787edbcd4c9ce411a7df37d266cfa602daa61203
parentbca3f793912b6785739ae1aa78f2d6578a5d30ea (diff)
downloadohai-12ae73945d776b0afbaa96835276cf9151425d62.tar.gz
Remove redundant if statement
-rw-r--r--lib/ohai/plugins/perl.rb4
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