diff --git a/monitor/collectd/collectd.conf b/monitor/collectd/collectd.conf index 6c49e9417..f1642e6b1 100644 --- a/monitor/collectd/collectd.conf +++ b/monitor/collectd/collectd.conf @@ -12,8 +12,10 @@ # GNU General Public License can be found in the file COPYING. # --- SDE-COPYRIGHT-NOTE-END --- -prefix="opt/collectd" -set_confopt +if [ $prefix_auto = 1 ]; then + prefix="opt/collectd" + set_confopt +fi var_append GCC_WRAPPER_REMOVE ' ' '-Werror'