From 2ebd02f7d22d9c50e8bbc8a8ab05fc55eeddf27c Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Mon, 5 Oct 2020 01:30:03 +0200 Subject: [PATCH] added small comment --- uplink | 2 ++ 1 file changed, 2 insertions(+) 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)