Skip to content

Commit

Permalink
Load config file from OXIDIZED_HOME too
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Beattie <[email protected]>
  • Loading branch information
mjbnz committed Feb 19, 2022
1 parent c97c04d commit c22e4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oxidized/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Config
Sleep = 1

def self.load(cmd_opts = {})
asetus = Asetus.new(name: 'oxidized', load: false, key_to_s: true)
asetus = Asetus.new(name: 'oxidized', load: false, key_to_s: true, usrdir: Oxidized::Config::Root)
Oxidized.asetus = asetus

asetus.default.username = 'username'
Expand Down

0 comments on commit c22e4e0

Please sign in to comment.