src/model.c: fix bug with root path at init

This commit is contained in:
Adrien Bourmault 2024-04-05 23:00:00 +02:00
parent bad939f9d6
commit dd00857495
Signed by: neox
GPG Key ID: 95F65F55F682A17A
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ static bool model_init(struct model_t *self)
return false;
}
model_populate_hashTable(self, node, "/");
model_populate_hashTable(self, node, "");
if (self->hashTable == NULL) {
printerr("Can't create model hash table !\n");