Exit if validation fails

Currently, it is still proceeding
which means that the running version can
be updated even when a failure occurs.
Merge pull request #55 from bodepd/exit_on_failed_validation

Exit if validation fails