summaryrefslogtreecommitdiff
path: root/lib/chef
diff options
context:
space:
mode:
authorNolan Davidson <nolan.davidson@gmail.com>2014-09-13 23:25:45 -0400
committerNolan Davidson <nolan.davidson@gmail.com>2014-09-13 23:25:45 -0400
commitdb40a044a88264366020f69d09bc46baecb89a0d (patch)
tree613fb2d488a6c408b7243bd123fd4549f3da53a2 /lib/chef
parentce28709b5d47539258d824d7514efc4269da7a2a (diff)
downloadchef-db40a044a88264366020f69d09bc46baecb89a0d.tar.gz
Updated command mixin to specify Kernel.exec
Diffstat (limited to 'lib/chef')
-rw-r--r--lib/chef/mixin/command/unix.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/mixin/command/unix.rb b/lib/chef/mixin/command/unix.rb
index b63a02663b..2bad4e6bcf 100644
--- a/lib/chef/mixin/command/unix.rb
+++ b/lib/chef/mixin/command/unix.rb
@@ -100,9 +100,9 @@ class Chef
begin
if cmd.kind_of?(Array)
- exec(*cmd)
+ Kernel.exec(*cmd)
else
- exec(cmd)
+ Kernel.exec(cmd)
end
raise 'forty-two'
rescue Exception => e