fix flags in documentation
mark exit_core as noreturn for static analyzer
drop dead store
typo in get_fqdn