Clean and exit on SIGINT

This commit is contained in:
LukeeGD 2020-03-31 14:19:32 +08:00
parent 72a649e329
commit 1c82716f52

View File

@ -413,7 +413,7 @@ function Ubuntu1804 {
# --- MAIN SCRIPT STARTS HERE ---
trap Clean INT TERM EXIT
trap 'Clean; exit' INT TERM EXIT
clear
echo "******* 32bit-OTA-Downgrader *******"
echo " Downgrade script by LukeZGD "