Quick shellcheck fix as per suggestion

This commit is contained in:
JRGTH
2025-01-21 18:23:52 -04:00
parent 848bec5fae
commit f45fb73913

View File

@@ -375,7 +375,7 @@ configure_ethernet() {
local _response=
# Try to get a list of the available physical network/ethernet interfaces.
local ETHERNET_PHY_ADAPTERS=$(pciconf -lv | grep 'ethernet' -B4 | grep 'class=0x020000' | awk -F '@' '{print $1}')
local ETHERNET_PHY_ADAPTERS="$(pciconf -lv | grep 'ethernet' -B4 | grep 'class=0x020000' | awk -F '@' '{print $1}')"
if [ -z "${ETHERNET_PHY_ADAPTERS}" ]; then
error_exit "Unable to detect for any physical ethernet interfaces, exiting."
fi