[sheepdog] [PATCH] sheep: write config data when config file is zero byte
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Thu Oct 4 22:24:34 CEST 2012
At Wed, 3 Oct 2012 03:58:02 +0900,
MORITA Kazutaka wrote:
>
> If sheep is killed just after config file is created but before no
> bytes is written, the size of the config file would be zero byte. In
> this case, we should recreate config file rather than exiting with a
> version error.
>
> Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp>
> ---
> sheep/config.c | 17 +++++++++++------
> 1 files changed, 11 insertions(+), 6 deletions(-)
Applied.
More information about the sheepdog
mailing list