Improve parsing rc output. Show error msg, if any.