diff --git a/es-app/src/PDFViewer.cpp b/es-app/src/PDFViewer.cpp index a7f539656..81cfb3dad 100644 --- a/es-app/src/PDFViewer.cpp +++ b/es-app/src/PDFViewer.cpp @@ -305,7 +305,8 @@ bool PDFViewer::getDocumentInfo() CloseHandle(pi.hProcess); CloseHandle(pi.hThread); #elif defined(__ANDROID__) - ConvertPDF::processFile(mManualPath, "-fileinfo", 0, 0, 0, commandOutput); + if (ConvertPDF::processFile(mManualPath, "-fileinfo", 0, 0, 0, commandOutput) == -1) + return false; #else FILE* commandPipe; std::array buffer {};