https://bugs.freedesktop.org/show_bug.cgi?id=60544
Priority: medium
Bug ID: 60544
Assignee: [email protected]
Summary: Format conversion poorly usable on scripts
Severity: trivial
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86 (IA32)
Status: UNCONFIRMED
Version: 3.6.5.2 release
Component: Libreoffice
Product: LibreOffice
term$ libreoffice --headless --convert-to pdf --outdir /tmp/
/corrupted/or/invalid/file/path.doc
When the file to convert is corrupted, no error messages are sent. Even if the
file do not exists, no errors are returned. And the badest part is that the
return code will every be: "0", aka: no error.
This is really confusing, and makes the feature dificultly usable inside shell
scripts.
Steps to reproduce:
libreoffice --headless --convert-to pdf --outdir /tmp /UNEXISTING/PATH
libreoffice --headless --convert-to pdf --outdir /tmp /CORRUPTED/DOC
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs