aboutsummaryrefslogtreecommitdiff
path: root/utils/collectd/files/collectd.init
diff options
context:
space:
mode:
Diffstat (limited to 'utils/collectd/files/collectd.init')
-rw-r--r--utils/collectd/files/collectd.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/collectd/files/collectd.init b/utils/collectd/files/collectd.init
index 89fc6b2bb..e585f7b05 100644
--- a/utils/collectd/files/collectd.init
+++ b/utils/collectd/files/collectd.init
@@ -98,7 +98,7 @@ process_network() {
}
config_get_bool Forward "$cfg" Forward
- if [ "$value" = "0" ]; then
+ if [ "$Forward" = "0" ]; then
printf "\\tForward false\n" >> "$COLLECTD_CONF"
else
printf "\\tForward true\n" >> "$COLLECTD_CONF"