fix: zfs send uses str(path)

This commit is contained in:
timeshifter
2021-12-01 21:02:06 +01:00
parent 133c14cace
commit 5b4de7769e
+1 -1
View File
@@ -257,7 +257,7 @@ class ZFS:
raise ValueError(SAME_DATASET)
print(f" {old_snap} -> {new_snap}")
sender = Popen(
[config.ZFS, "send", "-R", "-I", old_snap, new_snap], stdout=PIPE
[config.ZFS, "send", "-R", "-I", str(old_snap), str(new_snap)], stdout=PIPE
)
return sender