From 1c82716f525498d53de5e2ae6a892a59fa0ca015 Mon Sep 17 00:00:00 2001 From: LukeeGD Date: Tue, 31 Mar 2020 14:19:32 +0800 Subject: [PATCH] Clean and exit on SIGINT --- restore.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/restore.sh b/restore.sh index 17d337d..2616120 100755 --- a/restore.sh +++ b/restore.sh @@ -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 "