If (say) init_by_options() fails, the subsequent call to init_by_defaults() was overwriting the return code with success. Still call init_by_defaults() regardless, but track its return value separatelypull/31/head
parent
52c9bc57bd
commit
46bb820be3
1 changed files with 6 additions and 2 deletions
Loading…
Reference in new issue