summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2018-03-05 12:16:54 +0000
committerGitHub <noreply@github.com>2018-03-05 12:16:54 +0000
commit7cd945f8ef296b70b18ad12d5f656c7cb1bd50ad (patch)
treeecb86742a36d0bfed87eae3c2adc4376f1f25350
parentd70812078f26eeb8354566b0e18411d664e1c750 (diff)
parentd36655a4d9f4b6aef798ce677e81f981180ff50f (diff)
downloadchef-7cd945f8ef296b70b18ad12d5f656c7cb1bd50ad.tar.gz
Merge pull request #6940 from mbakhoff/macports-typo
fix typo in macports error handling
-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