return process exit code 1 on failure