diff --git a/system/systemd.go b/system/systemd.go index a96fb29..dda28b2 100644 --- a/system/systemd.go +++ b/system/systemd.go @@ -116,8 +116,7 @@ func DaemonReload() error { return err } - _, err = conn.Reload() - return err + return conn.Reload() } func ExecuteScript(scriptPath string) (string, error) {