From 506db198b5aa59ee86f1623bb3049cf17cb658a7 Mon Sep 17 00:00:00 2001 From: Miepee <38186597+Miepee@users.noreply.github.com> Date: Thu, 11 Nov 2021 10:29:28 +0100 Subject: [PATCH] Exit on any errors --- patcher.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/patcher.sh b/patcher.sh index 40a2ebf..d17f1fa 100755 --- a/patcher.sh +++ b/patcher.sh @@ -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 "-------------------------------------------"