aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Storchak <m.storchak@gmail.com>2021-01-05 22:32:40 +0200
committerHannu Nyman <hannu.nyman@iki.fi>2021-01-10 10:22:54 +0200
commitfdd53a4c60f6144a18cbcb99e85b9d7f3103652c (patch)
tree241157b2b9fbe862e9c2cdd68eb2090fe6b70b60
parent3a35751513ccf017700e70ec8fba3d3cc73cd8f7 (diff)
collectd: fix the wrong var name
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
-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"