summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2024-02-05 19:31:07 +0200
committerGitHub <noreply@github.com>2024-02-05 19:31:07 +0200
commit20a476098b1b437e5580a18bb86b9689299df72e (patch)
tree50733e3db6b007498d26669194744934752dc605
parent85b274833bb01e5bdef3e230f4f2e7ec6c8f26e5 (diff)
fix charts.d.plugin configuration directory names (#16939)
-rwxr-xr-xcollectors/charts.d.plugin/charts.d.plugin.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/charts.d.plugin/charts.d.plugin.in b/collectors/charts.d.plugin/charts.d.plugin.in
index 1469480990..4e64b7e236 100755
--- a/collectors/charts.d.plugin/charts.d.plugin.in
+++ b/collectors/charts.d.plugin/charts.d.plugin.in
@@ -192,8 +192,8 @@ info "started from '$PROGRAM_FILE' with options: $*"
[ -z "${NETDATA_STOCK_CONFIG_DIR}" ] && NETDATA_STOCK_CONFIG_DIR="@libconfigdir_POST@"
pluginsd="${NETDATA_PLUGINS_DIR}"
-stockconfd="${NETDATA_STOCK_CONFIG_DIR}/${PROGRAM_NAME}"
-userconfd="${NETDATA_USER_CONFIG_DIR}/${PROGRAM_NAME}"
+stockconfd="${NETDATA_STOCK_CONFIG_DIR}/${SHORT_PROGRAM_NAME}"
+userconfd="${NETDATA_USER_CONFIG_DIR}/${SHORT_PROGRAM_NAME}"
olduserconfd="${NETDATA_USER_CONFIG_DIR}"
chartsd="$pluginsd/../charts.d"