diff --git a/zfs/zfs.go b/zfs/zfs.go index fd40917..c0dfcc6 100644 --- a/zfs/zfs.go +++ b/zfs/zfs.go @@ -986,6 +986,10 @@ func zfsGet(path string, props []string, allowedSources zfsPropertySource) (*ZFS } } } + return nil, &ZFSError{ + Stderr: exitErr.Stderr, + WaitErr: exitErr, + } } return nil, err }