diff --git a/uplink b/uplink index 152fe5d..739830a 100755 --- a/uplink +++ b/uplink @@ -114,6 +114,8 @@ def get_data(config, inc): config["database"]) except Exception as err: logger.error("ERROR: Database connection failed!" + str(err)) + # see https://stackoverflow.com/questions/1489669/how-to-exit-the-entire-application-from-a-python-thread + # maybe the following is better. need to evaluate: #thread.interrupt_main() os._exit(1)