From 16aa3ec2f2f15d630a4fcb9958680e0f2c7798a1 Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 10 2020 06:15:19 +0000 Subject: Apply patch fc_wwpn_id-non_FC-devices.patch patch_name: fc_wwpn_id-non_FC-devices.patch present_in_specfile: true location_in_specfile: 4 --- diff --git a/scripts/fc_wwpn_id b/scripts/fc_wwpn_id index c8d0189..b05c5e8 100644 --- a/scripts/fc_wwpn_id +++ b/scripts/fc_wwpn_id @@ -38,7 +38,9 @@ while [ -n "$d" ] ; do esac done -echo "FC_TARGET_LUN=$target_lun" +if [ -n "$rport_wwpn" ] || [ -n "$host_wwpn" ] ; then + echo "FC_TARGET_LUN=$target_lun" +fi if [ -n "$rport_wwpn" ] ; then echo "FC_TARGET_WWPN=$rport_wwpn"