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:
parent
06a4dfa290
commit
9cde09126b
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user