summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/client/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/client/client.c b/source3/client/client.c
index 262ac41798..67fadd11a8 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -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;
}
}