merge branch 'pr-1158'

Closes #1158
LGTMs: @hqhq @cyphar
This commit is contained in:
Aleksa Sarai
2016-12-26 13:59:47 +11:00
16 changed files with 74 additions and 20 deletions

3
run.go
View File

@@ -59,6 +59,9 @@ command(s) that get executed on start, edit the args parameter of the spec. See
},
},
Action: func(context *cli.Context) error {
if err := checkArgs(context, 1, exactArgs); err != nil {
return err
}
if err := revisePidFile(context); err != nil {
return err
}