diff options
author | Tim Potter <tpot@samba.org> | 2005-07-12 07:17:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:20:11 -0500 |
commit | 24f4236a9f24bdef8cbbfa868318df31152dea5d (patch) | |
tree | 169822259264e57f72a7a7718bf9fcd76ca75f90 /source4 | |
parent | 6b38e62f0a004103def69244d39c6bc3e607aa9f (diff) | |
download | samba-24f4236a9f24bdef8cbbfa868318df31152dea5d.tar.gz samba-24f4236a9f24bdef8cbbfa868318df31152dea5d.tar.bz2 samba-24f4236a9f24bdef8cbbfa868318df31152dea5d.zip |
r8358: Return an error message if js include path not set instead of silently
failing.
(This used to be commit 797d9cf0c72992b2d5b9912d0f41873b6acc3195)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/ejs/smbcalls.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/scripting/ejs/smbcalls.c b/source4/scripting/ejs/smbcalls.c index e58151620f..abcde06e30 100644 --- a/source4/scripting/ejs/smbcalls.c +++ b/source4/scripting/ejs/smbcalls.c @@ -74,6 +74,7 @@ static int ejs_libinclude(int eid, int argc, char **argv) const char **js_include = lp_js_include(); if (js_include == NULL || js_include[0] == NULL) { + ejsSetErrorMsg(eid, "js include path not set"); return -1; } |