clear screen on cancel
This commit is contained in:
1 parent
db7f539bd1
commit
a3c476ca20
1 file changed
+1
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user