Regressions: fix call to exit(1) when there are errors (for --status mode)