From 4672445842d9e36a7fe722299198d9afba8921e7 Mon Sep 17 00:00:00 2001 From: Armin Kunaschik Date: Sat, 1 May 2021 03:01:03 +0200 Subject: [PATCH] add default values to lpar name and number --- show_vio_host_mappings | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/show_vio_host_mappings b/show_vio_host_mappings index 303763c..f8a6a13 100755 --- a/show_vio_host_mappings +++ b/show_vio_host_mappings @@ -550,8 +550,8 @@ if ( $options{'disks'} ) { $vscsi{$vhost}->{'slot'}, "-", "-", - $vscsi{$vhost}->{'lpar_number'}, - $vscsi{$vhost}->{'lpar_name'}, + $vscsi{$vhost}->{'lpar_number'} // "-", + $vscsi{$vhost}->{'lpar_name'} // "-", "-", "-", "-",