L #2603: Lintin code (#3168)

This commit is contained in:
Christian González authored and Ruben S. Montero committed 2019-04-02 18:19:58 +02:00
1 parent b1b0762270
commit fc6e80a3cc
1 file changed
+1 -1
+1 -1
View File
@@ -114,7 +114,7 @@ CommandParser::CmdParser.new(ARGV) do
exit(-1)
end
if !%r/^(http|https):\/\//.match(options[:server_rpc])
if !%r{^(http|https):\/\/}.match(options[:server_rpc])
puts 'Wrong protocol specified. Only http or https allowed!'
exit(-1)
end