Skip to content

Commit

Permalink
SQUASH config path
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Aug 9, 2023
1 parent ed3432f commit 71463c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/detect-engine.c
Original file line number Diff line number Diff line change
Expand Up @@ -4336,10 +4336,10 @@ int DetectEngineMultiTenantSetup(const bool unix_socket)

char yaml_path[PATH_MAX] = "";
if (path) {
strlcat(yaml_path, path, sizeof(yaml_path));
strlcat(yaml_path, "/", sizeof(yaml_path));
PathJoin(yaml_path, PATH_MAX, path, yaml_node->val);
} else {
strlcpy(yaml_path, yaml_node->val, sizeof(yaml_path));
}
strlcat(yaml_path, yaml_node->val, sizeof(yaml_path));
SCLogDebug("tenant path: %s", yaml_path);

/* setup the yaml in this loop so that it's not done by the loader
Expand Down

0 comments on commit 71463c8

Please sign in to comment.