]> git.pld-linux.org Git - packages/systemd.git/commitdiff
small fix to actually use hostname from /etc/sysconfig/network
authorJan Palus <atler@pld-linux.org>
Sun, 18 Nov 2018 22:04:58 +0000 (23:04 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 18 Nov 2018 22:04:58 +0000 (23:04 +0100)
target-pld.patch

index d237b3ab41409f17d3e564d26fa6ebe04d6cc764..e90a617ff1607c295526051015e6d48a3c30f33f 100644 (file)
@@ -39,7 +39,7 @@
 +                int r;
                  path = "/etc/hostname";
 +                r = read_etc_hostname_distro(path, ret);
-+                if (r > 0)
++                if (r == 0)
 +                        return r;
 +        }
  
This page took 0.186167 seconds and 4 git commands to generate.