chiark / gitweb /
login: make sure to replace existing units
[elogind.git] / src / login / logind-dbus.c
index 29f26f2..b9296b5 100644 (file)
@@ -2863,7 +2863,7 @@ int manager_start_unit(Manager *manager, const char *unit, sd_bus_error *error,
                         "StartUnit",
                         error,
                         &reply,
-                        "ss", unit, "fail");
+                        "ss", unit, "replace");
         if (r < 0)
                 return r;