clear on return

This commit is contained in:
rootzoll 2020-02-17 14:38:26 +01:00
parent 41c030be7f
commit 230cfa4a40
2 changed files with 4 additions and 0 deletions

View File

@ -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

View File

@ -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