[Sheepdog] [PATCH] logger: fix error return path

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Fri Sep 23 13:58:31 CEST 2011


At Thu, 22 Sep 2011 16:43:26 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> We should return immediately when 'open' error-returns. This will make dangling
> logger process disappear in error case.
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  lib/logger.c |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)

Applied, thanks!

Kazutaka



More information about the sheepdog mailing list