Exit after clear
This commit is contained in:
parent
c2b2a8e332
commit
bb7f71eedc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue