1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

development: Fixed bug with %r expression

This commit is contained in:
juanmont 2018-10-30 14:52:24 +01:00 committed by Ruben S. Montero
parent d983addf5b
commit e77ba6995b

View File

@ -168,7 +168,7 @@ CommandParser::CmdParser.new(ARGV) do
end
if options[:ip6]
m = %r{/([\h:]*)\/(\d.*)$/}.match(options[:ip6])
m = %r{([\h:]*)\/(\d.*)$}.match(options[:ip6])
if m.nil? || m[1].nil?
STDERR.puts 'Missing or wrong IP6'