mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
Merge pull request #1855 from take-cheeze/fix_mrbc_compile_error
Fix compile error check of Mrbc command.
This commit is contained in:
@@ -271,7 +271,7 @@ module MRuby
|
||||
out.puts io.read
|
||||
end
|
||||
# if mrbc execution fail, drop the file
|
||||
unless $?.exitstatus
|
||||
if $?.exitstatus != 0
|
||||
File.delete(out.path)
|
||||
exit(-1)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user