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:
parent
d983addf5b
commit
e77ba6995b
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user