fix: zfs send uses str(path)
This commit is contained in:
1 parent
133c14cace
commit
5b4de7769e
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user