projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50f56c2
)
collectd: remove quotation on interval this is an number
author
Florian Eckert
<fe@dev.tdt.de>
Wed, 24 Jun 2020 14:13:32 +0000
(16:13 +0200)
committer
Florian Eckert
<fe@dev.tdt.de>
Wed, 24 Jun 2020 18:09:09 +0000
(20:09 +0200)
The value is a number and not a string.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
utils/collectd/files/collectd.init
patch
|
blob
|
history
diff --git
a/utils/collectd/files/collectd.init
b/utils/collectd/files/collectd.init
index 7400194b07f942cd1b2a735a9c204165bd729d73..89fc6b2bbeb542ea8fad174256c0d0aa408cc3ac 100644
(file)
--- a/
utils/collectd/files/collectd.init
+++ b/
utils/collectd/files/collectd.init
@@
-320,7
+320,7
@@
process_config() {
printf "TypesDB \"%s\"\n" "$TypesDB" >> "$COLLECTD_CONF"
config_get Interval globals Interval 30
- printf "Interval
\"%s\"
\n" "$Interval" >> "$COLLECTD_CONF"
+ printf "Interval
%s
\n" "$Interval" >> "$COLLECTD_CONF"
config_get ReadThreads globals ReadThreads 2
printf "ReadThreads \"%s\"\n" "$ReadThreads" >> "$COLLECTD_CONF"