fix(systemd): fix assignment to output
This commit is contained in:
parent
aaa25373f3
commit
d9a8946c21
@ -115,7 +115,7 @@ func RestartUnitByName(name string) error {
|
||||
return err
|
||||
}
|
||||
|
||||
output, err = conn.RestartUnit(name, "replace")
|
||||
output, err := conn.RestartUnit(name, "replace")
|
||||
log.Printf("Restart completed with '%s'", output)
|
||||
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user