mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-09 21:51:41 +08:00
CLI: Make backend state message more clear
This commit is contained in:
parent
9734c1140f
commit
2b3fe34a7d
1 changed files with 2 additions and 2 deletions
|
|
@ -934,9 +934,9 @@ class ResticRunner:
|
|||
result, output = self.executor(cmd.replace(" --use-fs-snapshot", ""))
|
||||
self.json_output = json_output
|
||||
if result:
|
||||
msg = "Backend finished backup with success"
|
||||
msg = "Backend finished with success"
|
||||
else:
|
||||
msg = f"Backup failed backup operation:\n{output}"
|
||||
msg = f"Backend failed operation:\n{output}"
|
||||
|
||||
self.backup_result_content = output
|
||||
return self.convert_to_json_output(result, output, msg=msg, **kwargs)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue