Fix syntax error

This commit is contained in:
tux 2025-09-11 15:48:11 +02:00
parent e8c57ba19e
commit 3c5711e5c1

1
mon
View File

@ -87,7 +87,6 @@ if [[ -f "hostapd-wpe.conf" ]]; then
echo "[+] Found hostapd-wpe.conf in the current directory. Using it."
# Import channel variable only
source <(grep -E '^[[:space:]]*channel[[:space:]]*=' hostapd-wpe.conf
else
echo "[!] hostapd-wpe.conf not found in the current directory. Using the default: /etc/hostapd-wpe/hostapd-wpe.conf"
source <(grep -E '^[[:space:]]*channel[[:space:]]*=' /etc/hostapd-wpe/hostapd-wpe.conf