lib/lambom.rb in lambom-0.4.3 vs lib/lambom.rb in lambom-0.4.7
- old
+ new
@@ -20,14 +20,11 @@
puts "DEBUG ENABLED" if $debug
puts "Recived args: #{argv.inspect}" if $debug
raise 'Must be run as root' unless Process.uid == 0
#cargar config
- conf = Lambom::Config.new.load
+ conf = Lambom::Config.new.load(argv)
- # sobreescribimos a configuracion ca linea de comandos
- conf.merge(argv)
-
# executar converxencia
Lambom::Converger.new(conf).run
end