From d7a6e67ab3e93270bd5b9b508b24459a34a73b6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Thu, 19 Feb 2015 22:34:10 +0100 Subject: [PATCH] Fixed missing require. --- .../assets/opencomputers/loot/OpenOS/boot/94_shell.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/assets/opencomputers/loot/OpenOS/boot/94_shell.lua b/src/main/resources/assets/opencomputers/loot/OpenOS/boot/94_shell.lua index 1527af1ad..865ad6612 100644 --- a/src/main/resources/assets/opencomputers/loot/OpenOS/boot/94_shell.lua +++ b/src/main/resources/assets/opencomputers/loot/OpenOS/boot/94_shell.lua @@ -15,7 +15,7 @@ shell.setAlias("help", "man") shell.setAlias("?", "man") shell.setAlias("cp", "cp -i") -event.listen("init", function() +require("event").listen("init", function() local file = io.open("/etc/hostname") if file then os.setenv("HOSTNAME", file:read("*l"))