---
 library/types/src/Hostname.ycp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/library/types/src/Hostname.ycp b/library/types/src/Hostname.ycp
index a98aa30..65e091b 100644
--- a/library/types/src/Hostname.ycp
+++ b/library/types/src/Hostname.ycp
@@ -165,7 +165,7 @@ global define string CurrentFQ() {
     map hostname_data = (map) SCR::Execute(.target.bash_output, "hostname 
--fqdn");
     if (hostname_data == nil || hostname_data["exit"]:-1 != 0 )
     {
-       fqhostname = ($[] != (map) SCR::Read(.target.stat, "/etc/HOSTNAME") ? 
(string) SCR::Read(.target.string, "/etc/HOSTNAME"):"");
+       fqhostname = ($[] != (map) SCR::Read(.target.stat, "/etc/hostname") ? 
(string) SCR::Read(.target.string, "/etc/hostname"):"");
 
        if ( fqhostname == "" || fqhostname == nil )
        {
-- 
1.8.2.3

-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]

Reply via email to