diff --git a/gga_init.py b/gga_init.py
index 16332f91acf34bb71f09d802b75f528766f295ad..d6b28dcc31b133b9cf16c91248d13b2dc9b898ac 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"