From f45fb739134b416c80ddff72ac782873d3ba79a8 Mon Sep 17 00:00:00 2001 From: JRGTH Date: Tue, 21 Jan 2025 18:23:52 -0400 Subject: [PATCH] Quick shellcheck fix as per suggestion --- usr/local/share/bastille/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/setup.sh b/usr/local/share/bastille/setup.sh index 6069f4c0..518ec976 100644 --- a/usr/local/share/bastille/setup.sh +++ b/usr/local/share/bastille/setup.sh @@ -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