Exit after clear

This commit is contained in:
Bob Mottram 2016-11-23 09:42:26 +00:00
parent c2b2a8e332
commit bb7f71eedc
1 changed files with 1 additions and 1 deletions

View File

@ -698,7 +698,6 @@ function clear_passwords {
${PROJECT_NAME}-pass --clear yes
dialog --title $"Passwords were removed" \
--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
exit 0
}
function menu_security_settings {
@ -746,6 +745,7 @@ function menu_security_settings {
;;
2)
clear_passwords
exit 0
;;
3)
regenerate_ssh_host_keys