Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26d712ee authored by Tom Cherry's avatar Tom Cherry
Browse files

logcat: add 'device shut down' to error message upon EOF

Turns out this is the actual most likely cause of EOF.

Test: n/a
Change-Id: I00b89fea9e7069493e7143be443c520ea3cb3c89
parent fd8b4ea9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1129,7 +1129,7 @@ int Logcat::Run(int argc, char** argv) {
        if (!ret) {
            error(EXIT_FAILURE, 0, R"init(Unexpected EOF!

This means that either logd crashed, or more likely, this instance of logcat was unable to read log
This means that either the device shut down, logd crashed, or this instance of logcat was unable to read log
messages as quickly as they were being produced.

If you have enabled significant logging, look into using the -G option to increase log buffer sizes.)init");