chore(log): Add more logging

This commit is contained in:
Brian Waldon 2014-03-12 21:47:01 -07:00
parent 8830bc8fef
commit aaa25373f3

View File

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