Ignore output from stty for portability (e.g. Windows).
This commit is contained in:
parent
46bdd402f4
commit
32b1eb2111
1 changed files with 2 additions and 2 deletions
|
@ -308,9 +308,9 @@ sub mysql_setup {
|
|||
print STDERR "Please enter your MySQL administrative login: ";
|
||||
my $name = <>;
|
||||
print STDERR "Please enter your MySQL administrative password: ";
|
||||
system("stty -echo");
|
||||
system("stty -echo >/dev/null 2>&1");
|
||||
my $password = <>;
|
||||
system("stty echo");
|
||||
system("stty echo >/dev/null 2>&1");
|
||||
chomp($password);
|
||||
chomp($name);
|
||||
$mysqllogin = "-u $name";
|
||||
|
|
Loading…
Reference in a new issue