Fix normal exit

This commit is contained in:
Howard20181 2022-08-23 15:52:26 +08:00
parent 95003e88e6
commit e13b05c68c

View File

@ -34,7 +34,7 @@ abort() {
fi
exit 1
}
trap abort EXIT
trap abort INT TERM
if [ ! "$BASH_VERSION" ] ; then
echo "Please do not use sh to run this script, just execute it directly" 1>&2