Skip to content

Commit

Permalink
add support for configurable relative paths
Browse files Browse the repository at this point in the history
as introduced in

- naemon/naemon-core#491
  • Loading branch information
sni committed Feb 7, 2025
1 parent dc3bc1a commit 75f297d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ void livestatus_parse_arguments(const char *args_orig)
char *right = next_token(&part, 0);
if (!right) {
char *sock_path;
sock_path = nspath_absolute(left, config_file_dir);
sock_path = nspath_absolute(left, config_rel_path);
strncpy(g_socket_addr, sock_path, sizeof(g_socket_addr));
free(sock_path);
}
Expand Down

0 comments on commit 75f297d

Please sign in to comment.