소스 검색

Exit after clear

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

+ 1
- 1
src/freedombone-sec 파일 보기

@@ -698,7 +698,6 @@ function clear_passwords {
698 698
     ${PROJECT_NAME}-pass --clear yes
699 699
     dialog --title $"Passwords were removed" \
700 700
            --msgbox $"\nFor the best security you should now manually change passwords via web interfaces so that there is no possibility of them being recovered from the disk" 9 60
701
-    exit 0
702 701
 }
703 702
 
704 703
 function menu_security_settings {
@@ -746,6 +745,7 @@ function menu_security_settings {
746 745
             ;;
747 746
         2)
748 747
             clear_passwords
748
+            exit 0
749 749
             ;;
750 750
         3)
751 751
             regenerate_ssh_host_keys