From 6c0f2c7e44b97cd8aa49682b82f8f54b9ae12bd8 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Fri, 9 Feb 2024 14:30:21 -0700 Subject: [PATCH] Enforce env var --- frigate/app.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frigate/app.py b/frigate/app.py index 5aa738d93..a27075d2c 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -647,6 +647,11 @@ class FrigateApp: self.init_logger() logger.info(f"Starting Frigate ({VERSION})") + + if not os.environ.get('I_PROMISE_I_WONT_MAKE_AN_ISSUE_ON_GITHUB'): + logger.error("Frigate 0.14 UNSTABLE - not for public use at this time. Please use Frigate stable") + sys.exit(1) + try: self.ensure_dirs() try: