mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-29 14:57:15 +08:00
CLI: Improve --auto-upgrade log message
This commit is contained in:
parent
c77b3512be
commit
b59511b727
1 changed files with 5 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue