Fix error return code (from email report lost to the mists of time).