At Tue, 14 May 2013 05:05:36 +0900,
Hitoshi Mitake wrote:
> 
> Currently, lock_and_daemon() always returns 0 as its exit
> status. But this behavior is confusing because users cannot detect
> errors during locking a base directory via the exit status. This patch
> modifies lock_and_daemon() for returning correct exit status.
> 
> Signed-off-by: Hitoshi Mitake <mitake.hito...@lab.ntt.co.jp>
> ---
> v2: return correct error status when the second fork() fails
> 
>  sheep/sheep.c |   50 ++++++++++++++++++++++++++++++++++++++------------
>  1 files changed, 38 insertions(+), 12 deletions(-)

Applied, thanks!

Kazutaka
-- 
sheepdog mailing list
sheepdog@lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to