HomeFreeBSD

Use stderr for 'no pools/datasets available' error

Description

Use stderr for 'no pools/datasets available' error

The 'zfs list' and 'zpool list' commands output the message
'no datasets/pools available' to stdout. This should go to
stderr and only the available datasets/pools should go to
stdout. Returning nothing to stdout is expected behavior
when there is nothing to list.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #581

Details

Provenance
Gregor Kopka <mailfrom-github.com@kopka.net>Authored on Mar 14 2012, 1:34 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Mar 15 2012, 5:24 PM
Parents
rG0ece356db51e: Add sa_spill_rele() interface
Branches
Unknown
Tags
Unknown