Re: [PATCH v4 3/3] Fix failure to detach if process exits while detaching on Linux

Pedro Alves
2016-06-24T19:28:30Z

On 06/17/2016 04:07 PM, Yao Qi wrote:
> Pedro Alves <palves@redhat.com> writes:
>
>> +# If testing single-process, simply detach from the process.
>> +#
>> +# If testing multi-process, first detach from the child, then detach
>> +# from the parent and confirm that the parent exits, thus unsuring
>
> s/unsuring/ensuring/ ?

Indeed.

>> + } else {
>> + perror "unhandled command: $mode: $cmd"
>
> no variable "mode".

Whoops, there used to be one. Fixed now (the two instances):

- perror "unhandled command: $mode: $cmd"
+ perror "unhandled command: $cmd"

Thanks,
Pedro Alves