mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
reorder test
Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
380c51010b
commit
6c838d846f
@ -35,8 +35,8 @@ func main() {
|
||||
log.Fatalln("Error reading watch file", err)
|
||||
}
|
||||
bytes, err := ioutil.ReadFile(pidfile)
|
||||
pidstring := string(bytes[:])
|
||||
if err != nil {
|
||||
pidstring := string(bytes[:])
|
||||
pid, err := strconv.Atoi(pidstring)
|
||||
if err != nil {
|
||||
syscall.Kill(pid, syscall.SIGHUP)
|
||||
|
Loading…
Reference in New Issue
Block a user