mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 12:06:36 +02:00
clear on return
This commit is contained in:
@@ -31,6 +31,8 @@ dialog --title "Open a Connection to a Peer" \
|
|||||||
_input=$(cat $_temp | xargs )
|
_input=$(cat $_temp | xargs )
|
||||||
shred $_temp
|
shred $_temp
|
||||||
if [ ${#_input} -eq 0 ]; then
|
if [ ${#_input} -eq 0 ]; then
|
||||||
|
clear
|
||||||
|
echo
|
||||||
echo "no peer entered - returning to menu ..."
|
echo "no peer entered - returning to menu ..."
|
||||||
sleep 2
|
sleep 2
|
||||||
exit 1
|
exit 1
|
||||||
|
@@ -62,6 +62,8 @@ pubKey=$(dialog --clear \
|
|||||||
|
|
||||||
clear
|
clear
|
||||||
if [ ${#pubKey} -eq 0 ]; then
|
if [ ${#pubKey} -eq 0 ]; then
|
||||||
|
clear
|
||||||
|
echo
|
||||||
echo "no channel selected - returning to menu ..."
|
echo "no channel selected - returning to menu ..."
|
||||||
sleep 2
|
sleep 2
|
||||||
exit 1
|
exit 1
|
||||||
|
Reference in New Issue
Block a user