diff options
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/config.rb b/lib/oxidized/config.rb index 50b1e71..9c2faff 100644 --- a/lib/oxidized/config.rb +++ b/lib/oxidized/config.rb @@ -43,7 +43,7 @@ module Oxidized CFG = CFGS.cfg # convenienence, instead of Config.cfg.password, CFG.password Log.level = Logger::INFO unless CFG.debug + raise NoConfig, 'edit ~/.config/oxidized/config' if CFGS.create Log.file = CFG.log if CFG.log - raise NoConfig, 'edit ~/.config/oxidized/config' if CFGS.create end |