diff --git a/src/ublue_update/cli.py b/src/ublue_update/cli.py index 12af882..e46987f 100644 --- a/src/ublue_update/cli.py +++ b/src/ublue_update/cli.py @@ -254,4 +254,8 @@ def main(): # system checks passed log.info("System passed all update checks") - run_updates(cli_args.system, system_update_available) + try: + run_updates(cli_args.system, system_update_available) + except Exception as e: + log.info(f"Failed to update: {e}") + os._exit(1)