network: fix

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium
2024-01-28 12:47:54 +01:00
parent 03c21e5e54
commit c196fe7c7b

View File

@@ -19,7 +19,6 @@ function getnet() {
--menu "Choose a MAC" 0 0 0 \
--file "${TMP_PATH}/opts" \
2>"${TMP_PATH}/resp"
[ $? -ne 0 ] && continue
resp="$(<"${TMP_PATH}/resp")"
[ -z "${resp}" ] && return 1
MAC="${resp}"