Prevent weird output when code is wrapped in multiple "err_exit"s

Basically, the first err_exit will raise a SystemExit. The second and
subsequent ones should just pass that through unmolested.