1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

Don't ask twice for the password

This commit is contained in:
Volker Lendecke -
parent 10d90171ed
commit 8ebd92da01

View File

@ -2572,6 +2572,7 @@ static struct cli_state *do_connect(const char *server, const char *share)
char *pass = getpass("Password: ");
if (pass) {
pstrcpy(password, pass);
got_pass = 1;
}
}