mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
If the domain name is not properly set before calling post_hostname_change signal, then in the signal handlers config.get_domainname() returns an empty string. So, call the post_hostname_change signal only after fully finishing the hostname related changes, that is, after setting back the original domain name too. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>