fix factual error in README
set error code on abnormal exit