projects
/
platform
/
upstream
/
systemd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4d140e
)
nspawn: always use default bus
author
Lennart Poettering
<lennart@poettering.net>
Wed, 5 Feb 2014 22:06:34 +0000
(23:06 +0100)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 5 Feb 2014 22:06:34 +0000
(23:06 +0100)
src/nspawn/nspawn.c
patch
|
blob
|
history
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index
cd63bf6
..
ed13e81
100644
(file)
--- a/
src/nspawn/nspawn.c
+++ b/
src/nspawn/nspawn.c
@@
-1025,7
+1025,7
@@
static int register_machine(pid_t pid) {
_cleanup_bus_unref_ sd_bus *bus = NULL;
int r;
- r = sd_bus_
open
_system(&bus);
+ r = sd_bus_
default
_system(&bus);
if (r < 0) {
log_error("Failed to open system bus: %s", strerror(-r));
return r;