[packages/systemd] small fix to actually use hostname from /etc/sysconfig/network
atler
atler at pld-linux.org
Sun Nov 18 23:06:37 CET 2018
commit d38d680614a1f6a1d6264e46377ac758e51b1539
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Nov 18 23:04:58 2018 +0100
small fix to actually use hostname from /etc/sysconfig/network
target-pld.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/target-pld.patch b/target-pld.patch
index d237b3a..e90a617 100644
--- a/target-pld.patch
+++ b/target-pld.patch
@@ -39,7 +39,7 @@
+ int r;
path = "/etc/hostname";
+ r = read_etc_hostname_distro(path, ret);
-+ if (r > 0)
++ if (r == 0)
+ return r;
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/systemd.git/commitdiff/d38d680614a1f6a1d6264e46377ac758e51b1539
More information about the pld-cvs-commit
mailing list