diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-03-22 12:25:16 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-03-22 12:25:16 +0100 |
commit | c425c7c245f9d0dd757919ea4830d7d0fbc56d9a (patch) | |
tree | 548c521ad5699ac65f92c0607ed4bcb9f0222a00 /src/core/dbus-execute.c | |
parent | dbus-execute: lets use exec_directory_type_from_string() to simplify things (diff) | |
download | systemd-c425c7c245f9d0dd757919ea4830d7d0fbc56d9a.tar.xz systemd-c425c7c245f9d0dd757919ea4830d7d0fbc56d9a.zip |
dbus-execute: don't needlessly override error code
Diffstat (limited to 'src/core/dbus-execute.c')
-rw-r--r-- | src/core/dbus-execute.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |