mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
bug #3300: Fix oneuser login for ruby 1.8.7
This commit is contained in:
parent
e4c1a68405
commit
43f66174c2
@ -411,8 +411,8 @@ EOT
|
||||
def self.get_password
|
||||
print "Password: "
|
||||
system("stty", "-echo")
|
||||
@@password=gets.chop
|
||||
begin
|
||||
@@password = STDIN.gets.chop
|
||||
return @@password
|
||||
ensure
|
||||
system("stty", "echo")
|
||||
|
Loading…
x
Reference in New Issue
Block a user