diff options
-rw-r--r-- | source4/scripting/ejs/smbscript.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/scripting/ejs/smbscript.c b/source4/scripting/ejs/smbscript.c index a15fce57b0..754a49ccb1 100644 --- a/source4/scripting/ejs/smbscript.c +++ b/source4/scripting/ejs/smbscript.c @@ -54,6 +54,8 @@ void ejs_exception(const char *reason) exit(1); } + load_interfaces(); + mprSetCtx(mem_ctx); if (ejsOpen(NULL, NULL, NULL) != 0) { |