https://bugs.kde.org/show_bug.cgi?id=409133
Bug ID: 409133 Summary: --export exits with non-zero status on success Product: krita Version: 4.2.1 Platform: openSUSE RPMs OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: General Assignee: krita-bugs-n...@kde.org Reporter: ak...@taisei-project.org Target Milestone: --- SUMMARY Since 4.2 `krita --export` exits with status 1 even though the export succeeds, indicating failure. This breaks some automation scripts that (correctly) consider a non-zero exit status to indicate an error. STEPS TO REPRODUCE 1. Create and save a Krita document `test.kra` (or pick an existing one) 2. In a terminal run: `krita --export --export-filename test.png test.kra && echo 'success!' || echo 'failure!'` 3. Check test.png and ensure that the export, in fact, was successful. OBSERVED RESULT $ krita --export --export-filename test.png test.kra && echo 'success!' || echo 'failure!' Set style "fusion" Invalid profile : "/usr/share/color/icc/colord/Crayons.icc" "Crayon Colors" Invalid profile : "/usr/share/color/icc/colord/x11-colors.icc" "X11 Colors" krita.general: Warning: some tiles have leaked: krita.general: Tiles in memory: 258 Total tiles: 258 failure! EXPECTED RESULT $ krita --export --export-filename test.png test.kra && echo 'success!' || echo 'failure!' success! SOFTWARE/OS VERSIONS KDE Plasma Version: 5.15.5 KDE Frameworks Version: 5.58.0 Qt Version: 5.12.3 -- You are receiving this mail because: You are watching all bug changes.