From e9a330e2c76f39357c817f7878c0f9423c793d5f Mon Sep 17 00:00:00 2001
From: Arthur Le Bars <arthur.le-bars@sb-roscoff.fr>
Date: Mon, 12 Apr 2021 10:22:13 +0200
Subject: [PATCH] authelia config path made optional in config.yml, added exit
 condition

---
 gga_init.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gga_init.py b/gga_init.py
index 16332f9..d6b28dc 100755
--- a/gga_init.py
+++ b/gga_init.py
@@ -221,6 +221,7 @@ def make_traefik_compose_files(config, main_dir):
                     sys.exit()
             else:
                 logging.critical("Invalid authelia configuration path (%s)" % config["authelia_config_path"])
+                sys.exit()
 
         # Path to the authelia users in the repo
         authelia_users_path = script_dir + "/templates/authelia_users_template.yml"
-- 
GitLab