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: make bus_print_all_properties work for non machinectl cases
[elogind.git]
/
src
/
machine
/
machinectl.c
diff --git
a/src/machine/machinectl.c
b/src/machine/machinectl.c
index 6234f6add238a5e04c591cab6325c08264867cb7..aa2b0986eda0a1f98b9b0833410507019f5c7afb 100644
(file)
--- a/
src/machine/machinectl.c
+++ b/
src/machine/machinectl.c
@@
-284,7
+284,7
@@
static int show_properties(sd_bus *bus, const char *path, bool *new_line) {
*new_line = true;
- r = bus_print_all_properties(bus, path, arg_property, arg_all);
+ r = bus_print_all_properties(bus,
"org.freedesktop.machine1",
path, arg_property, arg_all);
if (r < 0)
log_error("Could not get properties: %s", strerror(-r));