mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +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 )
|
||||
shred $_temp
|
||||
if [ ${#_input} -eq 0 ]; then
|
||||
clear
|
||||
echo
|
||||
echo "no peer entered - returning to menu ..."
|
||||
sleep 2
|
||||
exit 1
|
||||
|
@@ -62,6 +62,8 @@ pubKey=$(dialog --clear \
|
||||
|
||||
clear
|
||||
if [ ${#pubKey} -eq 0 ]; then
|
||||
clear
|
||||
echo
|
||||
echo "no channel selected - returning to menu ..."
|
||||
sleep 2
|
||||
exit 1
|
||||
|
Reference in New Issue
Block a user