chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
timedated: move sources to subdirectory
[elogind.git]
/
src
/
hostnamed.c
diff --git
a/src/hostnamed.c
b/src/hostnamed.c
index 0db78c096b82f49d4a0c274607795aedef4e9af5..f3b2c941731836fe5dfb751c9885ec88f8006c59 100644
(file)
--- a/
src/hostnamed.c
+++ b/
src/hostnamed.c
@@
-31,6
+31,7
@@
#include "dbus-common.h"
#include "polkit.h"
#include "def.h"
#include "dbus-common.h"
#include "polkit.h"
#include "def.h"
+#include "virt.h"
#define INTERFACE \
" <interface name=\"org.freedesktop.hostname1\">\n" \
#define INTERFACE \
" <interface name=\"org.freedesktop.hostname1\">\n" \
@@
-233,7
+234,7
@@
static int write_data_other(void) {
assert(name[p]);
if (isempty(data[p])) {
assert(name[p]);
if (isempty(data[p])) {
-
l =
strv_env_unset(l, name[p]);
+ strv_env_unset(l, name[p]);
continue;
}
continue;
}