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

feature #754: Bug when parsing the ONE_AUTH file

This commit is contained in:
Ruben S. Montero 2011-08-19 03:14:56 +02:00
parent 15b9d5dae4
commit 7c362c64b4

View File

@ -96,7 +96,7 @@ module OpenNebula
raise "ONE_AUTH file not present"
end
tokens = one_secret.chomp!.split(':')
tokens = one_secret.chomp.split(':')
if tokens.length > 2
@one_auth = one_secret