[systemd-devel] [PATCH] util: introduce sethostname_idempotent

Michal Sekletar msekleta at redhat.com
Mon Oct 27 04:29:38 PDT 2014


On Tue, Oct 21, 2014 at 07:29:31PM +0200, Lennart Poettering wrote:
> On Tue, 21.10.14 18:32, Michal Sekletar (msekleta at redhat.com) wrote:
<snip>
> Go ahead and commit. Ideally with those two nitpicks fixed, but even
> if you don't it's OK.

sethostname_idempotent now returns 1 when hostname was changed. Also, I've
pushed follow-up fix-up for copy paste error, so we actually call sethostname()
on s not on buf which contains old hostname.

Michal

> 
> Lennart
> 
> -- 
> Lennart Poettering, Red Hat


More information about the systemd-devel mailing list