From c425c7c245f9d0dd757919ea4830d7d0fbc56d9a Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Fri, 22 Mar 2019 12:25:16 +0100 Subject: dbus-execute: don't needlessly override error code --- src/core/dbus-execute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/dbus-execute.c') diff --git a/src/core/dbus-execute.c b/src/core/dbus-execute.c index 67cc48803c..d894dbdd7b 100644 --- a/src/core/dbus-execute.c +++ b/src/core/dbus-execute.c @@ -2199,7 +2199,7 @@ int bus_exec_context_set_transient_property( r = strv_extend_strv(&d->paths, l, true); if (r < 0) - return -ENOMEM; + return r; joined = unit_concat_strv(l, UNIT_ESCAPE_SPECIFIERS); if (!joined) -- cgit v1.2.3