Change exit code. Fixes #174
This commit is contained in:
parent
a1f37e1bfb
commit
82f8e4a698
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ class DBManager(object):
|
|||
self.logger.info('Influxdb version: %s', version)
|
||||
except ConnectionError:
|
||||
self.logger.critical("Error testing connection to InfluxDB. Please check your url/hostname")
|
||||
exit()
|
||||
exit(1)
|
||||
|
||||
databases = [db['name'] for db in self.influx.get_list_database()]
|
||||
|
||||
|
|
Loading…
Reference in a new issue