CLI: Improve --auto-upgrade log message

This commit is contained in:
deajan 2025-01-15 01:34:56 +01:00
parent c77b3512be
commit b59511b727

View file

@ -554,7 +554,11 @@ This is free software, and you are welcome to redistribute it under certain cond
)
if result:
# This only happens when no upgrade is available
logger.info("Upgrade check finished. Resuming operations.")
if args.auto_upgrade:
logger.info("Manual upgrade check finished.")
sys.exit(0)
else:
logger.info("Upgrade check finished. Resuming operations.")
elif args.auto_upgrade:
logger.error("Auto upgrade failed")
sys.exit(23)