diff options
author | Tim Smith <tsmith@chef.io> | 2017-09-27 16:56:40 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-09-28 11:04:54 -0700 |
commit | e5e2f14ad846af240a545bd87d0b431b513322c3 (patch) | |
tree | 0820e2a029a30e4010a4694b1dbf3eefff2120d9 | |
parent | f7a832a7d3e7c1873da57535543a87b2f372c925 (diff) | |
download | chef-e5e2f14ad846af240a545bd87d0b431b513322c3.tar.gz |
shell_out -> shell_out!
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/chef/provider/zypper_repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/zypper_repository.rb b/lib/chef/provider/zypper_repository.rb index 223fdb7a38..4fff7c8632 100644 --- a/lib/chef/provider/zypper_repository.rb +++ b/lib/chef/provider/zypper_repository.rb @@ -124,7 +124,7 @@ class Chef # # @return [String] the fingerprint of the key def key_fingerprint(key_path) - so = shell_out("gpg --with-fingerprint #{key_path}") + so = shell_out!("gpg --with-fingerprint #{key_path}") # expected output and match: http://rubular.com/r/BpfMjxySQM fingerprint = /pub\s*\S*\/(\S*)/.match(so.stdout)[1].downcase Chef::Log.debug("GPG fingerprint of key at #{key_path} is #{fingerprint}") |