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