Skip to content
Snippets Groups Projects
Commit fef8b087 authored by Jack Nagel's avatar Jack Nagel
Browse files

Remove obsolete nil guard

This was added in 3a7a3619f7016c75c3e53e944221bf7f6354a63b to make the
tests pass, but this method is now stubbed out in the tests, so we can
assume $? will be non-nil.
parent 2f74d86f
No related branches found
No related tags found
No related merge requests found
......@@ -220,8 +220,8 @@ class Updater
def `(cmd)
out = super
if $? && !$?.success?
$stderr.puts out
unless $?.success?
$stderr.puts(out) unless out.empty?
raise ErrorDuringExecution.new(cmd)
end
ohai(cmd, out) if ARGV.verbose?
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment