mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
r8411: we need to use mprVarToNumber() instead of var->integer now, to cope with
the 64 bit integer support this fixes the exit status from smbscript (This used to be commit f476e7aeec56a921fd286d3fe2cb0a229e57a9e8)
This commit is contained in:
parent
afb160e20c
commit
a3b0bb89b4
@ -101,7 +101,7 @@ void ejs_exception(const char *reason)
|
||||
}
|
||||
|
||||
return_var = ejsGetReturnValue(eid);
|
||||
exit_status = return_var->integer;
|
||||
exit_status = mprVarToNumber(return_var);
|
||||
|
||||
ejsClose();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user