mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
clean crash.log for kobos
This commit is contained in:
@@ -70,7 +70,7 @@ function Device:getModel()
|
||||
else
|
||||
local kg_test_fd = lfs.attributes("/bin/kobo_config.sh")
|
||||
if kg_test_fd then
|
||||
local std_out = io.popen("/bin/kobo_config.sh", "r")
|
||||
local std_out = io.popen("/bin/kobo_config.sh 2>/dev/null", "r")
|
||||
local codename = std_out:read()
|
||||
self.model = "Kobo_" .. codename
|
||||
local version_file = io.open("/mnt/onboard/.kobo/version", "r")
|
||||
|
||||
Reference in New Issue
Block a user