collectd: remove quotation on interval this is an number
authorFlorian Eckert <fe@dev.tdt.de>
Wed, 24 Jun 2020 14:13:32 +0000 (16:13 +0200)
committerFlorian 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

index 7400194b07f942cd1b2a735a9c204165bd729d73..89fc6b2bbeb542ea8fad174256c0d0aa408cc3ac 100644 (file)
@@ -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"