From 6b38e62f0a004103def69244d39c6bc3e607aa9f Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 12 Jul 2005 07:15:22 +0000 Subject: r8357: Call lp_load() so we can access the various lp_functions(). (This used to be commit f76a7ec2a2ef5db7ca7dced519474495d7ea02dc) --- source4/scripting/ejs/smbscript.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4') diff --git a/source4/scripting/ejs/smbscript.c b/source4/scripting/ejs/smbscript.c index 691cd44730..d999ba072a 100644 --- a/source4/scripting/ejs/smbscript.c +++ b/source4/scripting/ejs/smbscript.c @@ -48,6 +48,8 @@ void ejs_exception(const char *reason) smbscript_init_subsystems; mprSetCtx(mem_ctx); + lp_load(dyn_CONFIGFILE); + if (argc < 2) { fprintf(stderr, "You must supply a script name\n"); exit(1); -- cgit