Skip to content

Commit fe98b24

Browse files
Merge pull request #257 from bugsnag/fix-shell-out-call
2 parents c653f03 + 16f19eb commit fe98b24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def binary_exists?
121121
def safe_sv_shellout(command, options = {})
122122
begin
123123
Chef::Log.debug("Attempting to run runit command: #{new_resource.sv_bin} #{command}")
124-
cmd = shell_out("#{new_resource.sv_bin} #{command}", options)
124+
cmd = shell_out("#{new_resource.sv_bin} #{command}", **options)
125125
rescue Errno::ENOENT
126126
if binary_exists?
127127
raise # Some other cause

0 commit comments

Comments
 (0)