diff --git a/src/main/resources/assets/opencomputers/lua/rom/bin/man.lua b/src/main/resources/assets/opencomputers/lua/rom/bin/man.lua index 8978409c8..d452dac5b 100644 --- a/src/main/resources/assets/opencomputers/lua/rom/bin/man.lua +++ b/src/main/resources/assets/opencomputers/lua/rom/bin/man.lua @@ -10,7 +10,7 @@ end local topic = args[1] for path in string.gmatch(os.getenv("MANPATH"), "[^:]+") do - path = fs.concat(path, topic) + path = shell.resolve(fs.concat(path, topic), "man") if fs.exists(path) and not fs.isDirectory(path) then os.execute("more " .. path) os.exit()