]> arthur.barton.de Git - netdata.git/blobdiff - src/plugin_tc.c
added custom log format to web_log.conf #1792 #1793
[netdata.git] / src / plugin_tc.c
index 5fdbf32584bc330725e4274d274019687a561a92..3cb64505469d4498b161a1c4d80cf48dd7466c82 100644 (file)
@@ -782,7 +782,7 @@ void *tc_main(void *ptr) {
 #endif
     uint32_t first_hash;
 
-    snprintfz(buffer, TC_LINE_MAX, "%s/tc-qos-helper.sh", config_get("plugins", "plugins directory", PLUGINS_DIR));
+    snprintfz(buffer, TC_LINE_MAX, "%s/tc-qos-helper.sh", netdata_configured_plugins_dir);
     char *tc_script = config_get("plugin:tc", "script to run to get tc values", buffer);
     
     for(;1;) {