trap reset.sh exit and provide error message if not successful
Merge pull request #593 from jlipps/master

better error handling in reset.sh