mirror of
https://github.com/netinvent/npbackup.git
synced 2025-09-10 23:15:37 +08:00
upgrade_client: Fix bogus return code for GUI
This commit is contained in:
parent
7a7d008c73
commit
8ef5c5f86f
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ def auto_upgrader(
|
||||||
if file_info[file_type] and file_info[file_type]["sha256sum"] is None:
|
if file_info[file_type] and file_info[file_type]["sha256sum"] is None:
|
||||||
logger.info(f"No {file_type} file found has been found for me :/")
|
logger.info(f"No {file_type} file found has been found for me :/")
|
||||||
if file_type != "script":
|
if file_type != "script":
|
||||||
return True
|
return False
|
||||||
|
|
||||||
for file_type in ("script", "archive"):
|
for file_type in ("script", "archive"):
|
||||||
logger.info(f"Downloading {file_type} file for target {target_id}")
|
logger.info(f"Downloading {file_type} file for target {target_id}")
|
||||||
|
|
Loading…
Add table
Reference in a new issue