Skip to content

Commit 8bd2e43

Browse files
committed
Adding some debug logic
1 parent 018839d commit 8bd2e43

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

chef/lib/chef/mixin/command.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def run_command(args={})
5757
return false
5858
end
5959
else
60+
Chef::Log.debug("I should be running '#{args[:not_if]}'")
6061
status = popen4(args[:not_if]) { |p, i, o, e| }
6162
if status.exitstatus == 0
6263
Chef::Log.debug("Skipping #{args[:command_string]} - unless #{args[:not_if]} returned #{status.exitstatus}")

0 commit comments

Comments
 (0)