run() now uses CmdPipe for better pipe handling and cleaner code
This commit is contained in:
@ -565,7 +565,7 @@ class ZfsDataset:
|
||||
# cmd.append("|")
|
||||
# cmd.extend(pipe_cmd)
|
||||
|
||||
return self.zfs_node.get_pipe(cmd)
|
||||
return self.zfs_node.run(cmd, pipe=True, readonly=True)
|
||||
|
||||
|
||||
def recv_pipe(self, pipe, features, filter_properties=None, set_properties=None, ignore_exit_code=False):
|
||||
|
||||
Reference in New Issue
Block a user