tools: Correct exit code.