hostnamectl: show hint when user try to set transient hostname but static hostname is already used

This commit is contained in:
Yu Watanabe
2021-02-09 13:49:27 +09:00
parent e8acf09186
commit f2d3ec7abf
3 changed files with 33 additions and 5 deletions
+1 -1
View File
@@ -233,4 +233,4 @@ static const char* const hostname_source_table[] = {
[HOSTNAME_FALLBACK] = "fallback",
};
DEFINE_STRING_TABLE_LOOKUP_TO_STRING(hostname_source, HostnameSource);
DEFINE_STRING_TABLE_LOOKUP(hostname_source, HostnameSource);