mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-11 23:45:29 +08:00
Note for future self (the dev, not the class)
This commit is contained in:
parent
5b39e0071f
commit
c407184a60
1 changed files with 2 additions and 0 deletions
|
@ -403,6 +403,8 @@ This is free software, and you are welcome to redistribute it under certain cond
|
|||
json_error_logging(False, msg, "critical")
|
||||
sys.exit(71)
|
||||
|
||||
# This must be run before any other command since it's the way we're checking succesful upgrade processes
|
||||
# So any pre-upgrade process command shall be bypassed when this is executed
|
||||
if args.check_config_file:
|
||||
json_error_logging(True, "Config file seems valid", "info")
|
||||
sys.exit(0)
|
||||
|
|
Loading…
Add table
Reference in a new issue