diff options
author | Djalal Harouni <tixxdz@opendz.org> | 2013-12-17 23:40:15 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-12-18 23:58:23 -0500 |
commit | 8c841f21f5042b11acc91cc1b039cb162cbbe8f4 (patch) | |
tree | eb2fa7f5c747cac907ad3c2131401ed7fcaf8282 /src/machine | |
parent | 44433ebdb14d83750e0acdc4b3630b64f1fa18af (diff) |
machinectl: show_properties() already logs the error
Diffstat (limited to 'src/machine')
-rw-r--r-- | src/machine/machinectl.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/machine/machinectl.c b/src/machine/machinectl.c index fd21a0a815..a2af87c17d 100644 --- a/src/machine/machinectl.c +++ b/src/machine/machinectl.c @@ -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++) { |