debug string
This commit is contained in:
parent
52336b885d
commit
471704afa8
|
@ -236,7 +236,11 @@ class ResticBackupper(AbstractBackupper):
|
||||||
stdout=subprocess.PIPE,
|
stdout=subprocess.PIPE,
|
||||||
shell=False,
|
shell=False,
|
||||||
) as handle:
|
) as handle:
|
||||||
|
output = handle.communicate()[0].decode("utf-8")
|
||||||
if handle.returncode != 0:
|
if handle.returncode != 0:
|
||||||
|
print("repo is not initted")
|
||||||
|
print("returncode", handle.returncode)
|
||||||
|
print("output", output)
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue