HomeFreeBSD

Fix 'zpool list -H' error code

Description

Fix 'zpool list -H' error code

Due to an uninitialized variable it was possible for the command
'zpool list -H' to return a non-zero error when there are no pools.

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

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jul 23 2013, 7:37 PM
Parents
rGda91c90154f3: Add missing -v to usage help for zpool list.
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGcd72af9c6817: Fix 'zpool list -H' error code (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jul 23 2013, 7:39 PM