summaryrefslogtreecommitdiff
path: root/src/core/dbus-manager.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-08-07 10:14:30 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-08-07 10:14:33 +0900
commit4ae25393f37b96b2b753562a349d68947ab1ad3d (patch)
tree3ca5d2f931b2ab4760f70a218b5eb704f8a1445a /src/core/dbus-manager.c
parent906119c04632224c7c0d46671eb3f1dd303cacbf (diff)
downloadsystemd-4ae25393f37b96b2b753562a349d68947ab1ad3d.tar.gz
tree-wide: shorten error logging a bit
Continuation of 4027f96aa08c73f109aa46b89842ca0e25c9c0e9.
Diffstat (limited to 'src/core/dbus-manager.c')
-rw-r--r--src/core/dbus-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index c2f82e19de..1d5237614e 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -1298,9 +1298,9 @@ int verify_run_space_and_log(const char *message) {
r = verify_run_space(message, &error);
if (r < 0)
- log_error_errno(r, "%s", bus_error_message(&error, r));
+ return log_error_errno(r, "%s", bus_error_message(&error, r));
- return r;
+ return 0;
}
static int method_reload(sd_bus_message *message, void *userdata, sd_bus_error *error) {