1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00

Merge from 2.2

If you do not have one more expect than issue when talking to the passwd
program you will not send the last issue.
This commit is contained in:
Herb Lewis -
parent f057d62aae
commit 8aafec95cb

View File

@ -312,6 +312,12 @@ static int talktochild(int master, char *seq)
pwd_sub(issue);
}
if (!strequal(issue, ".")) {
/* we have one final issue to send */
fstrcpy(expected, ".");
if (!expect(master, issue, expected))
return False;
}
return (count > 0);
}