summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Gemfile.lock2
-rw-r--r--lib/oxidized/cli.rb2
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