fix exit code

pull/402/head
Alexander Medvednikov 2019-06-23 10:15:30 +02:00
parent 06a4dfa290
commit 9cde09126b
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
module builtin
pub fn exit(code int) {
C.exit(1)
C.exit(code)
}
// isnil returns true if an object is nil (only for C objects).