This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
FREAX/sbin/errpt
2022-07-18 19:33:40 +02:00

11 lines
236 B
Text

local err = true
if fs.isDir("/etc") then
logs = fs.list("/etc")
else
kerneldraw.printAppWarning("errpt", "/etc directory is non-existent")
return
end
local logfile = kernel.printFile("/etc/errorLog")
textutils.pagedPrint(logfile)