mirror of
https://github.com/wine-mirror/wine
synced 2024-06-29 06:14:34 +00:00
wineserver: Report non-zero exit code for abnormal process termination.
Signed-off-by: Adam Rehn <adam@tensorworks.com.au>
This commit is contained in:
parent
bc0cd8052e
commit
2dfeb87f41
|
@ -858,7 +858,7 @@ static void process_poll_event( struct fd *fd, int event )
|
|||
struct process *process = get_fd_user( fd );
|
||||
assert( process->obj.ops == &process_ops );
|
||||
|
||||
if (event & (POLLERR | POLLHUP)) kill_process( process, 0 );
|
||||
if (event & (POLLERR | POLLHUP)) kill_process( process, !process->is_terminating );
|
||||
else if (event & POLLIN) receive_fd( process );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user