diff --git a/usr/bin/archboot-setup.sh b/usr/bin/archboot-setup.sh index b5c9b3a75..1c77d2cd3 100755 --- a/usr/bin/archboot-setup.sh +++ b/usr/bin/archboot-setup.sh @@ -2717,7 +2717,7 @@ auto_testing() # check for already active profile check_nework() { for i in /etc/netctl/*; do - [[ -f "${i}" ]] && netctl -is-active "${i}" && S_NET=1 + [[ -f "${i}" ]] && netctl -is-active "$(basename "${i}")" && S_NET=1 done [[ "${S_NET}" == "1" ]] || donetwork }