fix: delay config loading
This commit is contained in:
parent
1c184a5557
commit
5e8c46dfcf
1 changed files with 1 additions and 2 deletions
|
@ -88,12 +88,11 @@ module GX
|
|||
end
|
||||
|
||||
def run()
|
||||
@config.load_from_file
|
||||
|
||||
case @config.mode
|
||||
when Config::Mode::ShowVersion
|
||||
STDOUT.puts "#{PROGRAM_NAME} #{VERSION}"
|
||||
when Config::Mode::Mount
|
||||
@config.load_from_file
|
||||
mount
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue