clear screen on cancel

This commit is contained in:
damage 2024-04-28 21:42:52 +02:00
parent db7f539bd1
commit a3c476ca20

1
s3h.sh
View File

@ -67,6 +67,7 @@ while [[ -z "$configFile" ]]; do
# run dialog
ret=$("$DIALOG" --no-tags --stdout --menu "select connection" 0 0 0 ${para[@]} 2>&1)
if [[ $? -ne 0 ]]; then
clear
exit 1
fi