mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-08 21:24:29 +08:00
Remove '\n' from binary version output
This commit is contained in:
parent
4ce9e9b171
commit
67a958bb77
1 changed files with 1 additions and 1 deletions
|
|
@ -378,7 +378,7 @@ class ResticRunner:
|
|||
io_priority=self._priority,
|
||||
)
|
||||
if exit_code == 0:
|
||||
return output
|
||||
return output.strip()
|
||||
else:
|
||||
logger.error("Cannot get backend version: {}".format(output))
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue