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