mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-10 22:23:09 +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,
|
io_priority=self._priority,
|
||||||
)
|
)
|
||||||
if exit_code == 0:
|
if exit_code == 0:
|
||||||
return output
|
return output.strip()
|
||||||
else:
|
else:
|
||||||
logger.error("Cannot get backend version: {}".format(output))
|
logger.error("Cannot get backend version: {}".format(output))
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue