Skip to content

Commit

Permalink
Fixed exit code for config generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Feramance committed Dec 12, 2023
1 parent c078e3d commit 66bf692
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qBitrr/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 66bf692

Please sign in to comment.