From 9a86fe14adde2c91fb5a2129dc8d143484645665 Mon Sep 17 00:00:00 2001 From: tux Date: Thu, 11 Sep 2025 15:49:28 +0200 Subject: [PATCH] Fix more syntax errors --- mon | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mon b/mon index a3f4e17..edd8ad5 100755 --- a/mon +++ b/mon @@ -86,10 +86,10 @@ ip link set "$iface" up 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 + 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 + source <(grep -E '^[[:space:]]*channel[[:space:]]*=' /etc/hostapd-wpe/hostapd-wpe.conf) fi # Start monitoring