mirror of
https://github.com/systemd/systemd.git
synced 2026-08-05 07:30:30 +00:00
machinectl: show_properties() already logs the error
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
parent
44433ebdb1
commit
8c841f21f5
@@ -304,10 +304,8 @@ static int show(sd_bus *bus, char **args, unsigned n) {
|
||||
/* If no argument is specified, inspect the manager
|
||||
* itself */
|
||||
r = show_properties(bus, "/org/freedesktop/machine1", &new_line);
|
||||
if (r < 0) {
|
||||
log_error("Failed to query properties: %s", strerror(-r));
|
||||
if (r < 0)
|
||||
return r;
|
||||
}
|
||||
}
|
||||
|
||||
for (i = 1; i < n; i++) {
|
||||
|
||||
Reference in New Issue
Block a user