diff options
author | Nolan Davidson <nolan.davidson@gmail.com> | 2014-09-13 23:25:45 -0400 |
---|---|---|
committer | Nolan Davidson <nolan.davidson@gmail.com> | 2014-09-13 23:25:45 -0400 |
commit | db40a044a88264366020f69d09bc46baecb89a0d (patch) | |
tree | 613fb2d488a6c408b7243bd123fd4549f3da53a2 /lib/chef | |
parent | ce28709b5d47539258d824d7514efc4269da7a2a (diff) | |
download | chef-db40a044a88264366020f69d09bc46baecb89a0d.tar.gz |
Updated command mixin to specify Kernel.exec
Diffstat (limited to 'lib/chef')
-rw-r--r-- | lib/chef/mixin/command/unix.rb | 4 |
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 |