1
0
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:
Andrew Tridgell 2005-07-13 05:30:23 +00:00 committed by Gerald (Jerry) Carter
parent afb160e20c
commit a3b0bb89b4

View File

@ -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();