11 lines
236 B
Text
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)
|