diff --git a/kiwmi/luak/kiwmi_server.c b/kiwmi/luak/kiwmi_server.c index f139049..b61f388 100644 --- a/kiwmi/luak/kiwmi_server.c +++ b/kiwmi/luak/kiwmi_server.c @@ -93,7 +93,9 @@ l_kiwmi_server_spawn(lua_State *L) _exit(EXIT_FAILURE); } - return 0; + lua_pushinteger(L, pid); + + return 1; } static int