From dbb57fd7279d4d9ed610fc3cf010e47dd70d0e86 Mon Sep 17 00:00:00 2001 From: Miki Date: Mon, 16 May 2016 16:17:53 +0200 Subject: [PATCH] . --- options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.go b/options.go index 2fab11c..f1be57a 100644 --- a/options.go +++ b/options.go @@ -51,7 +51,7 @@ func init() { } opts.LogFile = path.Join(opts.CurrentPath, opts.LogFile) - pid.PIDFile = path.Join(opts.CurrentPath, "run", path.Base(os.Args[0])+".pid") + opts.Pidfile = path.Join(opts.CurrentPath, "run", path.Base(os.Args[0])+".pid") opts.Exe = path.Base(os.Args[0]) flag.StringVar(&opts.Xymon, "x", "", "xymon server")