KNIFE-450: set process exit code on error