let SystemExit exception go up to the surface so we can exit() and so freeze the...
[nodemanager.git] / nodemanager.py
index 7f5e204..0d3009d 100755 (executable)
@@ -117,6 +117,8 @@ class NodeManager:
                 if getattr(module,'persistent_data',False):
                     module_data=last_data
                 callback(data, config, plc)
+            except SystemExit as e:
+                sys.exit(e)
             except:
                 logger.log_exc("nodemanager: GetSlivers failed to run callback for module %r"%module)