mirror of
https://github.com/thetechprepper/emcomm-tools-os-community.git
synced 2026-09-17 15:41:44 -04:00
reticulum - Exit if user does not select a modem
This commit is contained in:
@@ -125,6 +125,14 @@ if [[ $? -eq 0 ]]; then
|
|||||||
13 70 10 \
|
13 70 10 \
|
||||||
"${modem_options[@]}" \
|
"${modem_options[@]}" \
|
||||||
2>&1 >/dev/tty)
|
2>&1 >/dev/tty)
|
||||||
|
EXIT_STATUS=$?
|
||||||
|
|
||||||
|
tput sgr0 && clear
|
||||||
|
|
||||||
|
if [[ ${EXIT_STATUS} -ne 0 ]]; then
|
||||||
|
et-log "No modem selected"
|
||||||
|
exit ${EXIT_STATUS}
|
||||||
|
fi
|
||||||
|
|
||||||
dialog \
|
dialog \
|
||||||
--title "Note on Reticulum" \
|
--title "Note on Reticulum" \
|
||||||
|
|||||||
Reference in New Issue
Block a user