aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/loslib.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loslib.js b/src/loslib.js
index baaee74..a35f150 100644
--- a/src/loslib.js
+++ b/src/loslib.js
@@ -150,7 +150,7 @@ const syslib = {
};
// Only with Node
-if (process && process.exit && process.env && process.uptime) {
+if (!WEB) {
const os_exit = function(L) {
let status;
if (lua.lua_isboolean(L, 1))