summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorElvin Efendi <elvin.efendiev@shopify.com>2016-01-15 10:17:09 -0500
committerElvin Efendi <elvin.efendiev@shopify.com>2016-01-15 10:17:09 -0500
commitd46e75e7b90509e027ee256de850d0454dae1955 (patch)
tree4720ea23e7ee317650b918e9807d78dc1f3a84e8 /lib
parent79188c8920d68a5923df6a17a822ccb896a87b32 (diff)
fixes issue #264
Diffstat (limited to 'lib')
-rw-r--r--lib/oxidized/cli.rb2
1 files changed, 1 insertions, 1 deletions
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