Commit 131f9b04 131f9b04eb3f00aecd5bcc26cfc623b088fffa50 by Sergey Poznyakoff

(util_localname): Minor fix

1 parent 72a5595a
......@@ -1004,7 +1004,7 @@ util_localname ()
name_len *= 2;
name = realloc (name, name_len);
}
if (status)
if (status || name == NULL)
{
mu_diag_output (MU_DIAG_CRIT, _("Cannot find out my own hostname"));
exit (EX_OSERR);
......