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)