We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4d0bd18 + c224373 commit 4fbc506Copy full SHA for 4fbc506
dbus/methods.go
@@ -349,6 +349,6 @@ type DisableUnitFileChange struct {
349
350
// Reload instructs systemd to scan for and reload unit files. This is
351
// equivalent to a 'systemctl daemon-reload'.
352
-func (c *Conn) Reload() (string, error) {
353
- return c.runJob("org.freedesktop.systemd1.Manager.Reload")
+func (c *Conn) Reload() error {
+ return c.sysobj.Call("org.freedesktop.systemd1.Manager.Reload", 0).Store()
354
}
0 commit comments