X-Git-Url: https://git.proxmox.com/?p=pve-client.git;a=blobdiff_plain;f=PVE%2FAPIClient%2FCommands%2Fremote.pm;fp=PVE%2FAPIClient%2FCommands%2Fremote.pm;h=090672ee2cd1bca6bc53bbcee815e7a9f7893cba;hp=8deac33dc61849c4cc42e707ae30a40780086e8a;hb=b2123baa349cb0854044d6117ce612bae2d6bf10;hpb=4a7e63b852e9e15935c2ab0ed4b7e6c097fd96c4 diff --git a/PVE/APIClient/Commands/remote.pm b/PVE/APIClient/Commands/remote.pm index 8deac33..090672e 100644 --- a/PVE/APIClient/Commands/remote.pm +++ b/PVE/APIClient/Commands/remote.pm @@ -15,7 +15,7 @@ use PVE::APIClient::PTY; use base qw(PVE::APIClient::CLIHandler); sub read_password { - return PVE::PTY::read_password("Remote password: ") + return PVE::APIClient::PTY::read_password("Remote password: ") } __PACKAGE__->register_method ({ @@ -64,7 +64,7 @@ __PACKAGE__->register_method ({ my $password = $param->{password}; if (!defined($password)) { - $password = PVE::PTY::read_password("Remote password: "); + $password = PVE::APIClient::PTY::read_password("Remote password: "); } my $setup = {