r7263: Exit smbscript with the intepreter return value (defaults to 0).
authorTim Potter <tpot@samba.org>
Sat, 4 Jun 2005 03:51:38 +0000 (03:51 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:17:33 +0000 (13:17 -0500)
commit32f2e9806b267782125fed3a6162ea895e634eef
tree15f2ae5a75ebd447b75d56114b05b4a19b2ad4e9
parentd6555cadb7015d407a2a17538d8a1ccd073a41e6
r7263: Exit smbscript with the intepreter return value (defaults to 0).

Change the exit value for an exception, usage error and other non-js
errors to 127 which is kinda like the return value for the system(3)
function.
(This used to be commit c77a232b1152a27e2d8ffb719aefba6c6b2ba6df)
source4/scripting/ejs/smbscript.c