all: run goimports.

This commit is contained in:
Daniel Theophanes
2014-05-27 07:11:50 -07:00
parent 85390beb86
commit eb52bdfe36
6 changed files with 15 additions and 10 deletions
+4 -4
View File
@@ -191,8 +191,8 @@ func (s *linuxService) Start() error {
return exec.Command("initctl", "start", s.name).Run()
}
if s.flavor == initSystemd {
return exec.Command("systemctl", "start", s.name + ".service").Run()
}
return exec.Command("systemctl", "start", s.name+".service").Run()
}
return exec.Command("service", s.name, "start").Run()
}
@@ -201,8 +201,8 @@ func (s *linuxService) Stop() error {
return exec.Command("initctl", "stop", s.name).Run()
}
if s.flavor == initSystemd {
return exec.Command("systemctl", "stop", s.name + ".service").Run()
}
return exec.Command("systemctl", "stop", s.name+".service").Run()
}
return exec.Command("service", s.name, "stop").Run()
}