From 838bdce922217318a1b8f1efe79e1e4397dad2f0 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sat, 10 Dec 2022 11:08:45 +0100 Subject: [PATCH] fix listing of networks --- usr/lib/archboot/installer/network.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/installer/network.sh b/usr/lib/archboot/installer/network.sh index 2eee2e210..92fe45df9 100644 --- a/usr/lib/archboot/installer/network.sh +++ b/usr/lib/archboot/installer/network.sh @@ -16,7 +16,7 @@ essid_scan() { iwctl station "${INTERFACE}" scan # only show lines with signal '*' # kill spaces from the end and replace spaces with # between - for dev in $(iwctl station "${INTERFACE}" get-networks | grep '\*' | cut -c 11-44 | sed -e 's#\ $##g' -e 's| |#|g'); do + for dev in $(iwctl station "${INTERFACE}" get-networks | grep '\*' | cut -c 11-44 | sed -e 's#\ $##g' | sed -e 's| |#|g'); do echo "${dev}" [[ "${1}" ]] && echo "${1}" done