Exit on any errors

This commit is contained in:
Miepee
2021-11-11 10:29:28 +01:00
committed by GitHub
parent fe5b323fec
commit 506db198b5
+6 -1
View File
@@ -1,3 +1,8 @@
#!/bin/sh
# exit on any error to avoid showing everything was successfull even tho it wasnt
set -e
VERSION="15_5"
OUTPUT="am2r_"${VERSION}
INPUT=""
@@ -24,7 +29,7 @@ fi
echo "-------------------------------------------"
echo ""
echo "AM2R 1.5.4 Shell Autopatching Utility"
echo "AM2R 1.5.5 Shell Autopatching Utility"
echo "Scripted by Miepee and help from Lojemiru"
echo ""
echo "-------------------------------------------"