From d46e75e7b90509e027ee256de850d0454dae1955 Mon Sep 17 00:00:00 2001 From: Elvin Efendi Date: Fri, 15 Jan 2016 10:17:09 -0500 Subject: fixes issue #264 --- lib/oxidized/cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/oxidized/cli.rb b/lib/oxidized/cli.rb index 15d20c5..d35eab3 100644 --- a/lib/oxidized/cli.rb +++ b/lib/oxidized/cli.rb @@ -24,7 +24,7 @@ module Oxidized Config.load(@opts) Oxidized.setup_logger - @pidfile = File.expand_path("pid") + @pidfile = File.join(Oxidized::Config::Root, 'pid') end def crash error -- cgit v1.2.1