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:
parent
f76a7ec2a2
commit
797d9cf0c7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user