浏览代码

Exit after clear

Bob Mottram 9 年前
父节点
当前提交
bb7f71eedc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/freedombone-sec

+ 1
- 1
src/freedombone-sec 查看文件

698
     ${PROJECT_NAME}-pass --clear yes
698
     ${PROJECT_NAME}-pass --clear yes
699
     dialog --title $"Passwords were removed" \
699
     dialog --title $"Passwords were removed" \
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
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
 function menu_security_settings {
703
 function menu_security_settings {
746
             ;;
745
             ;;
747
         2)
746
         2)
748
             clear_passwords
747
             clear_passwords
748
+            exit 0
749
             ;;
749
             ;;
750
         3)
750
         3)
751
             regenerate_ssh_host_keys
751
             regenerate_ssh_host_keys