]> git.proxmox.com Git - pve-storage.git/commitdiff
code cleanup
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Apr 2019 15:48:39 +0000 (17:48 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 8 Apr 2019 15:48:59 +0000 (17:48 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/Diskmanage.pm

index 55df3f203b33de1f8b75b8a6001f91f5c59f76dc..de3e60e02146fc841826a491353127e3e088e29d 100644 (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