Gracefully shutdown on config error
Merge branch 'master' into c
update generated_c