mirror of
https://github.com/MustardChef/WSABuilds.git
synced 2024-11-30 07:04:14 +01:00
Fix normal exit
This commit is contained in:
parent
95003e88e6
commit
e13b05c68c
@ -34,7 +34,7 @@ abort() {
|
|||||||
fi
|
fi
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
trap abort EXIT
|
trap abort INT TERM
|
||||||
|
|
||||||
if [ ! "$BASH_VERSION" ] ; then
|
if [ ! "$BASH_VERSION" ] ; then
|
||||||
echo "Please do not use sh to run this script, just execute it directly" 1>&2
|
echo "Please do not use sh to run this script, just execute it directly" 1>&2
|
||||||
|
Loading…
Reference in New Issue
Block a user