From: Liu Yuan <[email protected]> This fix a fatal bug that can't start sheep with relative path for store
Signed-off-by: Liu Yuan <[email protected]> --- sheep/sheep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sheep/sheep.c b/sheep/sheep.c index 1ae0c2a..a7e3820 100644 --- a/sheep/sheep.c +++ b/sheep/sheep.c @@ -641,7 +641,7 @@ int main(int argc, char **argv) srandom(port); - if (lock_and_daemon(is_daemon, dirp)) + if (lock_and_daemon(is_daemon, dir)) exit(1); ret = log_init(program_name, LOG_SPACE_SIZE, to_stdout, log_level, -- 1.7.9.5 -- sheepdog mailing list [email protected] http://lists.wpkg.org/mailman/listinfo/sheepdog
