diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-02-05 23:06:34 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-02-05 23:06:34 +0100 |
commit | 1c03020cc48d41c94a51b5efbeeccb96e45d3e26 (patch) | |
tree | f63a4b597a705789f8601a7d71dc292ce522a4ff /src/nspawn | |
parent | f4d140e9a60ca76d36d4539059e463a5db6a3a9d (diff) |
nspawn: always use default bus
Diffstat (limited to 'src/nspawn')
-rw-r--r-- | src/nspawn/nspawn.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nspawn/nspawn.c b/src/nspawn/nspawn.c index cd63bf6a7f..ed13e813a7 100644 --- 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; |