mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-09 07:30:02 +00:00
OptionParser nnow prints password prompt to STDERR - issue 1290911
This commit is contained in:
@@ -867,7 +867,7 @@ sub prompt_noecho {
|
||||
shift @_ if ref $_[0] eq __PACKAGE__;
|
||||
my ( $prompt ) = @_;
|
||||
local $OUTPUT_AUTOFLUSH = 1;
|
||||
print $prompt
|
||||
print STDERR $prompt
|
||||
or die "Cannot print: $OS_ERROR";
|
||||
my $response;
|
||||
eval {
|
||||
|
Reference in New Issue
Block a user