summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMärt Bakhoff <mart.bakhoff@zeroturnaround.com>2018-03-04 11:21:42 +0200
committerMärt Bakhoff <mart.bakhoff@zeroturnaround.com>2018-03-04 11:26:02 +0200
commitd36655a4d9f4b6aef798ce677e81f981180ff50f (patch)
tree4bccc48205f793f1b66552edd6acb59f0b004986
parent599f0dfec0c8c2b0d6d6eaf2a594abeebf40ff66 (diff)
downloadchef-d36655a4d9f4b6aef798ce677e81f981180ff50f.tar.gz
fix typo in macports error handling
(obvious fix)
-rw-r--r--lib/chef/provider/package/macports.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/macports.rb b/lib/chef/provider/package/macports.rb
index ad4be00477..514f3580d4 100644
--- a/lib/chef/provider/package/macports.rb
+++ b/lib/chef/provider/package/macports.rb
@@ -91,7 +91,7 @@ class Chef
raise Chef::Exceptions::Package, "Could not read from STDOUT on command: #{command}"
end
unless status.exitstatus == 0 || status.exitstatus == 1
- raise Chef::Exceptions::Package, "#{command} failed - #{status.insect}!"
+ raise Chef::Exceptions::Package, "#{command} failed - #{status.inspect}!"
end
output
end