support negative exit code.