From a3c476ca203d8351fd97a60189f93f6f02b97ecd Mon Sep 17 00:00:00 2001 From: damage Date: Sun, 28 Apr 2024 21:42:52 +0200 Subject: [PATCH] clear screen on cancel --- s3h.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/s3h.sh b/s3h.sh index d4e07ce..817de4e 100755 --- a/s3h.sh +++ b/s3h.sh @@ -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