matt-fidd a03b288cf0
zfs get -p only outputs 3 columns if "clones" property is empty
get_clones_string currently returns an empty string for filesystem
snapshots which have no clones. This breaks parsable `zfs get` output as
only three columns are output, instead of 4.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Matt Fiddaman <github@m.fiddaman.uk>
Co-authored-by: matt <matt@fiddaman.net>
Closes #11837
2021-04-06 16:05:54 -07:00
..
2020-07-10 14:26:00 -07:00
2020-06-18 12:20:38 -07:00
2021-03-22 12:34:58 -07:00
2020-11-17 09:18:52 -08:00
2019-09-02 17:53:27 -07:00