mirror of
https://github.com/systemd/systemd.git
synced 2024-10-28 20:25:38 +03:00
hostnamed: Fix "SetStaticHostname" debug output
Was using the wrong property (eg. not the one we just set) https://bugs.freedesktop.org/show_bug.cgi?id=40987
This commit is contained in:
parent
0e89268b28
commit
1e2591d48c
@ -396,7 +396,7 @@ static DBusHandlerResult hostname_message_handler(
|
||||
return bus_send_error_reply(connection, message, NULL, r);
|
||||
}
|
||||
|
||||
log_info("Changed static host name to '%s'", strempty(data[PROP_HOSTNAME]));
|
||||
log_info("Changed static host name to '%s'", strempty(data[PROP_STATIC_HOSTNAME]));
|
||||
|
||||
changed = bus_properties_changed_new(
|
||||
"/org/freedesktop/hostname1",
|
||||
|
Loading…
Reference in New Issue
Block a user