correctly handle initial recording state
[enigma2.git] / main / bsod.cpp
index b646394e11edb39f0bd76a8769c011a2d33c68ba..5eb6b129681a0d0801f699dbf51592c85f66b90e 100644 (file)
@@ -86,6 +86,10 @@ void bsodFatal()
                std::string buffer = getLogBuffer();
                fwrite(buffer.c_str(), buffer.size(), 1, f);
                fclose(f);
+               
+               char cmd[256];
+               sprintf(cmd, "find /usr/lib/enigma2/python/ -name \"*.py\" | xargs md5sum >> %s", logfile);
+               system(cmd);
        }
        
        ePtr<gFBDC> my_dc;
@@ -132,7 +136,6 @@ void bsodFatal()
        
                p.renderText(usable_area, 
                        lines.substr(start), gPainter::RT_HALIGN_LEFT);
-               p.flush();
                sleep(10);
        }