1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fix exit code

This commit is contained in:
Alexander Medvednikov 2019-06-23 10:15:30 +02:00
parent 06a4dfa290
commit 9cde09126b

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).