From e724b0639c43c2821613fc4f7f755f87c49a22e8 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 7 May 2013 20:55:11 +0200 Subject: hostname: only suppress setting of pretty hostname if it is non-equal to the static hostname and if the static hostname is set, too https://bugzilla.redhat.com/show_bug.cgi?id=957814 --- src/shared/util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shared/util.h') diff --git a/src/shared/util.h b/src/shared/util.h index 7ef46e8f1e..64e63b8c07 100644 --- a/src/shared/util.h +++ b/src/shared/util.h @@ -411,7 +411,7 @@ bool nulstr_contains(const char*nulstr, const char *needle); bool plymouth_running(void); bool hostname_is_valid(const char *s) _pure_; -char* hostname_cleanup(char *s); +char* hostname_cleanup(char *s, bool lowercase); char* strshorten(char *s, size_t l); -- cgit v1.2.3-54-g00ecf