Clear screen before exit message

This commit is contained in:
Bob Mottram 2015-02-02 19:18:13 +00:00
parent e7537c7c5a
commit a78e66522c
1 changed files with 4 additions and 2 deletions

View File

@ -300,9 +300,11 @@ function interactive_setup {
--yesno "\nPlease confirm that you wish your security settings to be changed?\n\nWARNING: any mistakes made in the security settings could compromise your system, so be extra careful when answering 'yes'." 12 60
sel=$?
case $sel in
1) echo 'Exiting without changing security settings'
1) clear
echo 'Exiting without changing security settings'
exit 0;;
255) echo 'Exiting without changing security settings'
255) clear
echo 'Exiting without changing security settings'
exit 0;;
esac