Updated cadmium-commit script to exit with a status of 1 on any failure