mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
repl: handle exit(n) (#13930)
This commit is contained in:
@@ -203,7 +203,7 @@ pub fn mv(src string, dst string) ? {
|
||||
} $else {
|
||||
ret := C.rename(&char(src.str), &char(rdst.str))
|
||||
if ret != 0 {
|
||||
return error_with_code('failed to rename $src to $dst', int(ret))
|
||||
return error_with_code('failed to rename $src to $dst', ret)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user