diff options
author | Elvin Efendi <elvin.efendiev@shopify.com> | 2016-01-15 10:17:09 -0500 |
---|---|---|
committer | Elvin Efendi <elvin.efendiev@shopify.com> | 2016-01-15 10:17:09 -0500 |
commit | d46e75e7b90509e027ee256de850d0454dae1955 (patch) | |
tree | 4720ea23e7ee317650b918e9807d78dc1f3a84e8 /lib/oxidized | |
parent | 79188c8920d68a5923df6a17a822ccb896a87b32 (diff) |
fixes issue #264
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/cli.rb | 2 |
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 |