Can add and remove bw accounting without reboots.
[nodemanager.git] / nm.py
diff --git a/nm.py b/nm.py
index 78c7bfa..744ba76 100755 (executable)
--- a/nm.py
+++ b/nm.py
@@ -84,7 +84,8 @@ def getPLCDefaults(data, config):
             if len(attr_dict):
                 logger.verbose("Found default slice overrides.\n %s" % attr_dict)
                 config.OVERRIDES = attr_dict
-            elif 'OVERRIDES' in dir(config): del config.OVERRIDES
+            return 
+    if 'OVERRIDES' in dir(config): del config.OVERRIDES
 
 
 def run():