clear screen on cancel
This commit is contained in:
parent
db7f539bd1
commit
a3c476ca20
1
s3h.sh
1
s3h.sh
@ -67,6 +67,7 @@ while [[ -z "$configFile" ]]; do
|
|||||||
# run dialog
|
# run dialog
|
||||||
ret=$("$DIALOG" --no-tags --stdout --menu "select connection" 0 0 0 ${para[@]} 2>&1)
|
ret=$("$DIALOG" --no-tags --stdout --menu "select connection" 0 0 0 ${para[@]} 2>&1)
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
|
clear
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user