Signed-off-by: MORITA Kazutaka <morita.kazutaka at lab.ntt.co.jp> --- sheep/cluster/local.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sheep/cluster/local.c b/sheep/cluster/local.c index 53c099d..84d4bb0 100644 --- a/sheep/cluster/local.c +++ b/sheep/cluster/local.c @@ -314,7 +314,7 @@ static int local_init(struct cdrv_handlers *handlers, const char *option, sigfd = signalfd(-1, &mask, SFD_NONBLOCK); if (sigfd < 0) { eprintf("failed to create a signal fd: %m\n"); - return 1; + return -1; } add_timer(&t, 1); -- 1.7.2.5 |