From 24f7dd9c05226543e2fe6522d53478ec2ec069db Mon Sep 17 00:00:00 2001 From: Nick Sweeting Date: Mon, 5 Apr 2021 19:51:40 -0400 Subject: [PATCH] dont raise systemexit on succesful config --- archivebox/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/archivebox/main.py b/archivebox/main.py index 0d2ef005..92874878 100644 --- a/archivebox/main.py +++ b/archivebox/main.py @@ -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:')