From 66bf6923a361c43f00b74b0e7ccbefc32037371f Mon Sep 17 00:00:00 2001 From: Feramance Date: Tue, 12 Dec 2023 12:12:23 +0100 Subject: [PATCH] Fixed exit code for config generation --- qBitrr/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qBitrr/config.py b/qBitrr/config.py index 53c9af19..febc604a 100644 --- a/qBitrr/config.py +++ b/qBitrr/config.py @@ -86,7 +86,7 @@ def process_flags() -> argparse.Namespace | bool: print(f"'{CONFIG_FILE.name}' has been generated") print('Rename it to "config.toml" then edit it and restart the container') - sys.exit(1) + sys.exit(0) elif CONFIG_FILE.exists(): CONFIG = MyConfig(CONFIG_FILE)