From 501562d4b75174f7fef93131c933eaff0ee06182 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Mon, 8 Apr 2019 17:48:39 +0200 Subject: [PATCH] code cleanup Signed-off-by: Thomas Lamprecht --- PVE/Diskmanage.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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