Minor thing - exiting with a non-zero code would be better.