Clear on clean exit
This commit is contained in:
parent
5f325663b2
commit
d646385ee1
@ -2581,6 +2581,7 @@ die()
|
|||||||
|
|
||||||
trap - INT
|
trap - INT
|
||||||
tput cnorm
|
tput cnorm
|
||||||
|
(( e == 0 )) && clear
|
||||||
if [[ -d $MNT ]]; then
|
if [[ -d $MNT ]]; then
|
||||||
umount_dir "$MNT"
|
umount_dir "$MNT"
|
||||||
(( e == 127 )) && umount_dir /run/archiso/bootmnt && sleep 0.5 && reboot -f
|
(( e == 127 )) && umount_dir /run/archiso/bootmnt && sleep 0.5 && reboot -f
|
||||||
|
Reference in New Issue
Block a user