wrup now exits with 1 if an error has occurred.