Remove '\n' from binary version output

This commit is contained in:
Orsiris de Jong 2023-04-02 16:01:40 +02:00
parent 4ce9e9b171
commit 67a958bb77

View file

@ -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: