1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-09 08:58:35 +03:00

r8358: Return an error message if js include path not set instead of silently

failing.
(This used to be commit 797d9cf0c72992b2d5b9912d0f41873b6acc3195)
This commit is contained in:
Tim Potter 2005-07-12 07:17:04 +00:00 committed by Gerald (Jerry) Carter
parent 6b38e62f0a
commit 24f4236a9f

View File

@ -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;
}