summaryrefslogtreecommitdiff
path: root/src/core/dbus-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/dbus-manager.c')
-rw-r--r--src/core/dbus-manager.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/dbus-manager.c b/src/core/dbus-manager.c
index 5fe06f927d..140a413c17 100644
--- a/src/core/dbus-manager.c
+++ b/src/core/dbus-manager.c
@@ -681,9 +681,11 @@ static int transient_aux_units_from_message(
if (r < 0 && r != -EEXIST)
return r;
- r = unit_load(u);
- if (r < 0)
- return r;
+ if (r != -EEXIST) {
+ r = unit_load(u);
+ if (r < 0)
+ return r;
+ }
r = sd_bus_message_exit_container(message);
if (r < 0)