]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: mention that the error will be ignored
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Oct 2020 05:24:29 +0000 (14:24 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 28 Oct 2020 06:44:10 +0000 (15:44 +0900)
src/network/networkd-dhcp4.c

index a605a9c7d60ef5efcc89514e69642bca681803d3..b9a98a56a8b4fe4296e1bae8ebe31928774976ea 100644 (file)
@@ -1220,7 +1220,7 @@ static int dhcp4_set_promote_secondaries(Link *link) {
                 promote_secondaries_path = strjoina("net/ipv4/conf/", link->ifname, "/promote_secondaries");
                 r = sysctl_write(promote_secondaries_path, "1");
                 if (r < 0)
-                        log_link_warning_errno(link, r, "cannot set sysctl %s to 1", promote_secondaries_path);
+                        log_link_warning_errno(link, r, "Failed to set sysctl %s to 1, ignoring", promote_secondaries_path);
                 return r > 0;
         }