mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-30 23:37:27 +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,6 +554,10 @@ This is free software, and you are welcome to redistribute it under certain cond
|
||||||
)
|
)
|
||||||
if result:
|
if result:
|
||||||
# This only happens when no upgrade is available
|
# This only happens when no upgrade is available
|
||||||
|
if args.auto_upgrade:
|
||||||
|
logger.info("Manual upgrade check finished.")
|
||||||
|
sys.exit(0)
|
||||||
|
else:
|
||||||
logger.info("Upgrade check finished. Resuming operations.")
|
logger.info("Upgrade check finished. Resuming operations.")
|
||||||
elif args.auto_upgrade:
|
elif args.auto_upgrade:
|
||||||
logger.error("Auto upgrade failed")
|
logger.error("Auto upgrade failed")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue