Fix #82 - Make sure boot script returns proper status code on exit