Skip to content

Commit

Permalink
Merge pull request #95 from borovsky/fix-exit-status
Browse files Browse the repository at this point in the history
Tnx, merged :)
  • Loading branch information
gabskoro committed May 14, 2014
2 parents 1851be8 + 628805f commit c563ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/mina
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Rake.application.instance_eval do
puts ""
scope.print_error "Command failed."
scope.print_stderr "#{e.message}"
exit e.exitstatus
exit(e.exitstatus > 255 ? e.exitstatus >> 8 : e.exit_status)
end
end
end
Expand Down

0 comments on commit c563ea6

Please sign in to comment.