mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-27 02:01:53 +01:00
clear on return
This commit is contained in:
parent
41c030be7f
commit
230cfa4a40
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user