changed returned status of postPdfPermanent() if failed