]> granicus.if.org Git - zfs/commit
Fix 'zpool list -H' error code
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 23 Jul 2013 19:37:14 +0000 (12:37 -0700)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 23 Jul 2013 19:39:05 +0000 (12:39 -0700)
commitcd72af9c681779cc88af389bd227a655e776476c
treeba303783ecea72af2377425f217d3d1a54067743
parentda91c90154f32c56225e44b63aedf7c8d393f38c
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
cmd/zpool/zpool_main.c