From 3097d7657b01db2a6022e8bf5e30cb3b7e6f2f32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20N=C3=BCcke?= Date: Sat, 8 Feb 2014 03:26:45 +0100 Subject: [PATCH] fixed shell.running --- src/main/resources/assets/opencomputers/lua/rom/lib/shell.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/assets/opencomputers/lua/rom/lib/shell.lua b/src/main/resources/assets/opencomputers/lua/rom/lib/shell.lua index 8a78725ac..aebcb3d32 100644 --- a/src/main/resources/assets/opencomputers/lua/rom/lib/shell.lua +++ b/src/main/resources/assets/opencomputers/lua/rom/lib/shell.lua @@ -448,6 +448,7 @@ function shell.running(level) local process = findProcess() while level > 1 and process do process = process.parent + level = level - 1 end if process then return process.path, process.env, process.command