Explicitly return 1 on error in createPdf
Explicitly return 1 on error in createPdf

When we log an error in createPdf(), then we need to set the return code
from the command line to non-zero.

rst2pdf/rst2pdf,rst2pdf/rst2pdf