diff --git a/PVE/APIClient/LWP.pm b/PVE/APIClient/LWP.pm index 20e3b56..31df3c5 100755 --- a/PVE/APIClient/LWP.pm +++ b/PVE/APIClient/LWP.pm @@ -146,7 +146,7 @@ sub manual_verify_fingerprint { "X509 SHA256 key fingerprint is $fingerprint.\n" . "Are you sure you want to continue connecting (yes/no)? "; - my $answer = <>; + my $answer = ; my $valid = ($answer =~ m/^\s*yes\s*$/i) ? 1 : 0;