bin/mina in mina-0.3.0 vs bin/mina in mina-0.3.1
- old
+ new
@@ -56,10 +56,10 @@
rescue Mina::Failed => e
puts ""
scope.print_error "Command failed."
scope.print_stderr "#{e.message}"
- exit e.exitstatus
+ exit(e.exitstatus > 255 ? e.exitstatus >> 8 : e.exitstatus)
end
end
end