dont raise systemexit on succesful config

This commit is contained in:
Nick Sweeting 2021-04-05 19:51:40 -04:00
parent 31ba235a82
commit 24f7dd9c05

View file

@ -989,7 +989,7 @@ def config(config_options_str: Optional[str]=None,
stderr()
stderr('[X] These options failed to set (check for typos):', color='red')
stderr(' {}'.format('\n '.join(failed_options)))
raise SystemExit(bool(failed_options))
raise SystemExit(1)
elif reset:
stderr('[X] This command is not implemented yet.', color='red')
stderr(' Please manually remove the relevant lines from your config file:')