diff options
Diffstat (limited to 'glances/exports/glances_riemann.py')
-rw-r--r-- | glances/exports/glances_riemann.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glances/exports/glances_riemann.py b/glances/exports/glances_riemann.py index 5978ceea..b500b829 100644 --- a/glances/exports/glances_riemann.py +++ b/glances/exports/glances_riemann.py @@ -38,7 +38,7 @@ class Export(GlancesExport): # Load the Riemann configuration self.export_enable = self.load_conf('riemann', mandatories=['host', 'port'], options=[]) if not self.export_enable: - sys.exit(2) + exit('Missing RIEMANN config') # Get the current hostname self.hostname = socket.gethostname() |