瀏覽代碼

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