diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 3132f19d636..70c9076d4e8 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -6714,7 +6714,8 @@ status_notify (struct Lisp_Process *deleting_process, | |||
| 6714 | && p != deleting_process) | 6714 | && p != deleting_process) |
| 6715 | { | 6715 | { |
| 6716 | int nread = read_process_output (proc, p->infd); | 6716 | int nread = read_process_output (proc, p->infd); |
| 6717 | if (got_some_input < nread) | 6717 | if ((!wait_proc || wait_proc == XPROCESS (proc)) |
| 6718 | && got_some_input < nread) | ||
| 6718 | got_some_input = nread; | 6719 | got_some_input = nread; |
| 6719 | if (nread <= 0) | 6720 | if (nread <= 0) |
| 6720 | break; | 6721 | break; |