diff --git a/src/driver/toks_driver_ctx.c b/src/driver/toks_driver_ctx.c index 05c026b..82aba08 100644 --- a/src/driver/toks_driver_ctx.c +++ b/src/driver/toks_driver_ctx.c @@ -146,6 +146,12 @@ static int32_t toks_daemon_library_init(void) return status; } + if (!rtdata->argv) { + rtdata->argc = argc; + rtdata->argv = argv; + rtdata->envp = envp; + } + ntapi->tt_guid_copy( &rtdata->srv_guid, &toks_daemon_default_guid);