# HG changeset patch # User Josef 'Jeff' Sipek # Date 1734813992 18000 # Sat Dec 21 15:46:32 2024 -0500 # Node ID c81ffd47d507715715607de5407121856ed05d94 # Parent 35e48b5252533482964862856f5b2ed49d0fc232 hlog: initialize instance id on startup Signed-off-by: Josef 'Jeff' Sipek diff --git a/hlog/hlog.c b/hlog/hlog.c --- a/hlog/hlog.c +++ b/hlog/hlog.c @@ -43,6 +43,7 @@ #include #include #include +#include #include #include "common/config.h" @@ -2199,6 +2200,10 @@ if (ret) goto err; + ret = instance_init(AT_FDCWD); + if (ret) + goto err; + ret = load_index(); if (ret) goto err;