diff --git a/PVE/Diskmanage.pm b/PVE/Diskmanage.pm index 55df3f2..de3e60e 100644 --- a/PVE/Diskmanage.pm +++ b/PVE/Diskmanage.pm @@ -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