chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hostname: only suppress setting of pretty hostname if it is non-equal to the static...
[elogind.git]
/
src
/
nspawn
/
nspawn.c
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index a58cbec38a4bd1fe8d829a7d9d7f8bf455bfdf75..09153c87ce2694de46835467aa19f99838ae75b8 100644
(file)
--- a/
src/nspawn/nspawn.c
+++ b/
src/nspawn/nspawn.c
@@
-1267,7
+1267,7
@@
int main(int argc, char *argv[]) {
goto finish;
}
- hostname_cleanup(arg_machine);
+ hostname_cleanup(arg_machine
, false
);
if (isempty(arg_machine)) {
log_error("Failed to determine machine name automatically, please use -M.");
goto finish;