[CRIU] [PATCH 5/8] lib: return -1, if unable to connect to socket

Ruslan Kuprieiev kupruser at gmail.com
Wed Dec 4 05:47:07 PST 2013


On 04.12.2013 14:09, Andrew Vagin wrote:
> On Wed, Dec 04, 2013 at 02:57:28PM +0400, Ruslan Kuprieiev wrote:
>> Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>
>> ---
>>   lib/criu.c | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/lib/criu.c b/lib/criu.c
>> index 19a39b0..75abe10 100644
>> --- a/lib/criu.c
>> +++ b/lib/criu.c
>> @@ -87,6 +87,7 @@ static int criu_connect(void)
>>   	if (ret < 0) {
>>   		perror("Can't connect to socket");
>>   		close(fd);
>> +		return -1;
> Why is it not merged in the third patch?

Oh, yep, sorry.
Pavel, Is it possible to merge them when committing?

>>   	}
>>   
>>   	return fd;
>> -- 
>> 1.8.1.2
>>
>> _______________________________________________
>> CRIU mailing list
>> CRIU at openvz.org
>> https://lists.openvz.org/mailman/listinfo/criu



More information about the CRIU mailing list