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:
parent
10d90171ed
commit
8ebd92da01
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user