chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
bus: introduce concept of a default bus for each thread and make use of it everywhere
[elogind.git]
/
src
/
nspawn
/
nspawn.c
diff --git
a/src/nspawn/nspawn.c
b/src/nspawn/nspawn.c
index 06d627c0a9ce1840c938af070385073a292c7080..2778cd8411a047c1cc90c7df7713ed55eca29d4f 100644
(file)
--- a/
src/nspawn/nspawn.c
+++ b/
src/nspawn/nspawn.c
@@
-965,7
+965,7
@@
static int terminate_machine(pid_t pid) {
const char *path;
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;