mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
Clean and exit 1 on SIGINT and SIGTERM
This commit is contained in:
parent
b136abe5ec
commit
1ea936d55f
@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
trap "Clean" EXIT INT TERM
|
||||
trap "Clean" EXIT
|
||||
trap "Clean; exit 1" INT TERM
|
||||
|
||||
cd "$(dirname $0)"
|
||||
. ./resources/blobs.sh
|
||||
@ -8,7 +9,7 @@ cd "$(dirname $0)"
|
||||
. ./resources/downgrade.sh
|
||||
. ./resources/ipsw.sh
|
||||
|
||||
if [[ $1 != 'NoColor' && $2 != 'NoColor' ]]; then
|
||||
if [[ $1 != "NoColor" && $2 != "NoColor" ]]; then
|
||||
Color_R=$(tput setaf 9)
|
||||
Color_G=$(tput setaf 10)
|
||||
Color_B=$(tput setaf 12)
|
||||
|
Loading…
Reference in New Issue
Block a user