14 lines
533 B
Diff
14 lines
533 B
Diff
|
Index: systemd-222/src/core/hostname-setup.c
|
||
|
===================================================================
|
||
|
--- systemd-222.orig/src/core/hostname-setup.c
|
||
|
+++ systemd-222/src/core/hostname-setup.c
|
||
|
@@ -44,7 +44,7 @@ int hostname_setup(void) {
|
||
|
else
|
||
|
log_warning_errno(r, "Failed to read configured hostname: %m");
|
||
|
|
||
|
- hn = NULL;
|
||
|
+ hn = strdup("nohostname.set.site");
|
||
|
} else
|
||
|
hn = b;
|
||
|
/* strip any leftover of a domain name */
|