]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/portable/portablectl.c
Merge pull request #24054 from keszybz/initrd-no-reload
[thirdparty/systemd.git] / src / portable / portablectl.c
index 4005a5c796d5060cc0af8fc0768ab32e15a28542..c3c22220c22770c3ab4db84506edcca6f17396bc 100644 (file)
@@ -597,11 +597,9 @@ static int maybe_start_stop_restart(sd_bus *bus, const char *path, const char *m
         if (!arg_now)
                 return 0;
 
-        r = sd_bus_call_method(
+        r = bus_call_method(
                         bus,
-                        "org.freedesktop.systemd1",
-                        "/org/freedesktop/systemd1",
-                        "org.freedesktop.systemd1.Manager",
+                        bus_systemd_mgr,
                         method,
                         &error,
                         &reply,