mirror of
https://github.com/zrepl/zrepl.git
synced 2025-08-18 10:49:40 +02:00
Simplify "fork then io.Reader" abstractions
This commit is contained in:
@@ -114,7 +114,7 @@ func ZFSSend(fs DatasetPath, from, to *FilesystemVersion) (stream io.Reader, err
|
||||
args = append(args, "-i", from.ToAbsPath(fs), to.ToAbsPath(fs))
|
||||
}
|
||||
|
||||
stream, err = NewForkReader(ZFS_BINARY, args...)
|
||||
stream, err = NewForkExecReader(ZFS_BINARY, args...)
|
||||
|
||||
return
|
||||
}
|
||||
|
Reference in New Issue
Block a user