We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c653f03 + 16f19eb commit fe98b24Copy full SHA for fe98b24
libraries/helpers.rb
@@ -121,7 +121,7 @@ def binary_exists?
121
def safe_sv_shellout(command, options = {})
122
begin
123
Chef::Log.debug("Attempting to run runit command: #{new_resource.sv_bin} #{command}")
124
- cmd = shell_out("#{new_resource.sv_bin} #{command}", options)
+ cmd = shell_out("#{new_resource.sv_bin} #{command}", **options)
125
rescue Errno::ENOENT
126
if binary_exists?
127
raise # Some other cause
0 commit comments