Red Hat Bugzilla – Bug 208592
Should give non-0 exit code on failure
Last modified: 2007-11-30 17:11:44 EST
Description of problem:
The texttopaps filter (paps running in CUPS filter mode) doesn't have a non-zero
exit code when it encounters an error. As a result, print jobs can potentially
Version-Release number of selected component (if applicable):
Steps to Reproduce:
CHARSET=utf-16 CUPS_SERVER=127.0.0.1 /usr/lib/cups/filter/texttopaps 1 root '' 1
'' input.txt >/dev/null
(null): Error while converting strings.
texttopaps: Error while converting strings.
Not sure why it displays '(null)' as the program name, but that's a small issue
compared to the exit code.
Fixed in 0.6.6-16.fc6.