code cleanup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht
2019-04-08 17:48:39 +02:00
parent 4526dffa53
commit 501562d4b7

View File

@ -152,7 +152,7 @@ sub get_smart_data {
sub get_zfs_devices {
my $list = {};
return {} if !(-x $ZPOOL);
return {} if ! -x $ZPOOL;
# use zpool and parttype uuid,
# because log and cache do not have