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 --- Gemfile.lock | 2 +- lib/oxidized/cli.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index b46ca2f..f60b12f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - oxidized (0.9.0) + oxidized (0.10.0) asetus (~> 0.1) net-ssh (~> 3.0, >= 3.0.2) rugged (~> 0.21, >= 0.21.4) 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