]> arthur.barton.de Git - netdata.git/commitdiff
fix prev commit
authorpaulfantom <paulfantom@gmail.com>
Wed, 22 Jun 2016 10:42:02 +0000 (12:42 +0200)
committerpaulfantom <paulfantom@gmail.com>
Wed, 22 Jun 2016 10:42:02 +0000 (12:42 +0200)
plugins.d/python.d.plugin

index 413b722eb4acafc4361dde4ab4d482212be66446..0a0e65ae2e0d1912ecb20a9b68eb6eb4cf48cfde 100755 (executable)
@@ -524,9 +524,9 @@ def parse_cmdline(directory, *commands):
                 changed_update = True
             except ValueError:
                 pass
-        if changed_update and DEBUG_FLAG:
-            OVERRIDE_UPDATE_EVERY = True
-            debug(PROGRAM, "overriding update interval to", str(int(cmd)))
+    if changed_update and DEBUG_FLAG:
+        OVERRIDE_UPDATE_EVERY = True
+        debug(PROGRAM, "overriding update interval to", str(int(cmd)))
 
     debug("started from", commands[0], "with options:", *commands[1:])