]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/PTY.pm
pty: fix read_password prototype
[pve-common.git] / src / PVE / PTY.pm
index fa781962bd5cce8d596fc09c69b530b81b331543..23d76c0d02f9028d1b394ff32d5e8b6bb4fbf369 100644 (file)
@@ -165,7 +165,7 @@ sub tcsetsize($$$) {
        or die "failed to set window size: $!\n";
 }
 
-sub read_password(;$$) {
+sub read_password($;$$) {
     my ($query, $infd, $outfd) = @_;
 
     my $password = '';