diff options
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r-- | src/network/networkd-link.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 9bf1a811c9..427f6953c5 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -725,8 +725,6 @@ static int set_hostname_handler(sd_bus *bus, sd_bus_message *m, void *userdata, return 1; r = sd_bus_message_get_errno(m); - if (r < 0) - r = -r; if (r > 0) log_warning_link(link, "Could not set hostname: %s", strerror(r)); |