]> git.pld-linux.org Git - packages/systemd.git/blobdiff - target-pld.patch
small fix to actually use hostname from /etc/sysconfig/network
[packages/systemd.git] / 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.039428 seconds and 4 git commands to generate.