Skip to content

Commit

Permalink
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tool/jt.rb
Original file line number Diff line number Diff line change
@@ -270,6 +270,11 @@ def raw_sh(*args)
else
status = $? unless capture
$stderr.puts "FAILED (#{status}): #{printable_cmd(args)}"

if capture
$stderr.puts out
$stderr.puts err
end

if status && status.exitstatus
exit status.exitstatus

0 comments on commit 8f2e514

Please sign in to comment.