1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

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

failing.
This commit is contained in:
Tim Potter 2005-07-12 07:17:04 +00:00 committed by Gerald (Jerry) Carter
parent f76a7ec2a2
commit 797d9cf0c7

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