소스 검색

Clear screen before exit message

Bob Mottram 10 년 전
부모
커밋
a78e66522c
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  1. 4
    2
      src/freedombone-sec

+ 4
- 2
src/freedombone-sec 파일 보기

@@ -300,9 +300,11 @@ function interactive_setup {
300 300
       --yesno "\nPlease confirm that you wish your security settings to be changed?\n\nWARNING: any mistakes made in the security settings could compromise your system, so be extra careful when answering 'yes'." 12 60
301 301
   sel=$?
302 302
   case $sel in
303
-      1) echo 'Exiting without changing security settings'
303
+      1) clear
304
+         echo 'Exiting without changing security settings'
304 305
          exit 0;;
305
-      255) echo 'Exiting without changing security settings'
306
+      255) clear
307
+           echo 'Exiting without changing security settings'
306 308
            exit 0;;
307 309
   esac
308 310