This commit is contained in:
yo 2022-05-17 11:51:23 +02:00
parent 28dd17ccee
commit 874b1c541a

View File

@ -403,7 +403,7 @@ func main() {
logstream.Hooks.Add(hook)
}
if len(pidfile) > 0 {
if len(*pidFilePath) > 0 {
if pid, err := pidfile.Create(*pidFilePath); err != nil {
logstream.Fatal(err)
} else {