Clear screen before exit message
This commit is contained in:
parent
e7537c7c5a
commit
a78e66522c
|
@ -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
|
--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=$?
|
sel=$?
|
||||||
case $sel in
|
case $sel in
|
||||||
1) echo 'Exiting without changing security settings'
|
1) clear
|
||||||
|
echo 'Exiting without changing security settings'
|
||||||
exit 0;;
|
exit 0;;
|
||||||
255) echo 'Exiting without changing security settings'
|
255) clear
|
||||||
|
echo 'Exiting without changing security settings'
|
||||||
exit 0;;
|
exit 0;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue