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
..
2021-01-26 16:12:26 -08:00
2021-01-26 16:12:26 -08:00
2021-01-26 16:12:26 -08:00
2021-01-26 16:12:26 -08:00
2021-01-26 16:12:26 -08:00
2021-01-26 16:12:26 -08:00
2021-01-26 16:12:26 -08:00
2021-01-26 16:12:26 -08:00
2021-04-02 18:52:15 -07:00
2021-01-26 16:12:26 -08:00
2021-01-26 16:12:26 -08:00