fix(systemd): fix assignment to output

This commit is contained in:
Brian Waldon 2014-03-12 22:04:08 -07:00
parent aaa25373f3
commit d9a8946c21

View File

@ -115,7 +115,7 @@ func RestartUnitByName(name string) error {
return err return err
} }
output, err = conn.RestartUnit(name, "replace") output, err := conn.RestartUnit(name, "replace")
log.Printf("Restart completed with '%s'", output) log.Printf("Restart completed with '%s'", output)
return err return err