Skip to content

Commit

Permalink
Merge 44c23fe into 0ad632f
Browse files Browse the repository at this point in the history
  • Loading branch information
guss77 committed Apr 22, 2014
2 parents 0ad632f + 44c23fe commit 1e235f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bluepill/system.rb
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ def execute_blocking(cmd, options = {})
# finally, replace grandchild with cmd
::Kernel.exec(*Shellwords.shellwords(cmd))
rescue Exception => e
cmd_err_write.puts "Exception in grandchild: #{e.to_s}."
cmd_err_write.puts e.backtrace
(cmd_err_write.closed? ? STDERR : cmd_err_write).puts "Exception in grandchild: #{e.to_s}."
(cmd_err_write.closed? ? STDERR : cmd_err_write).puts e.backtrace
exit 1
end
}
Expand Down

0 comments on commit 1e235f1

Please sign in to comment.