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 02a3aff28e..68d94f6d2a 100644 --- a/source4/scripting/ejs/smbscript.c +++ b/source4/scripting/ejs/smbscript.c @@ -57,6 +57,8 @@ void ejs_exception(const char *reason) load_interfaces(); + smbscript_init_subsystems; + mprSetCtx(mem_ctx); if (ejsOpen(NULL, NULL, NULL) != 0) { |