From fa99f925d29c98fb8bf79aa7a18dba915933326f Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Mon, 24 Jul 2023 20:56:20 +0530 Subject: [PATCH] fix: exit on error --- package/aur/utils.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/aur/utils.sh b/package/aur/utils.sh index ab105fa..8287f11 100644 --- a/package/aur/utils.sh +++ b/package/aur/utils.sh @@ -1,3 +1,5 @@ +set -e + function increment_version() { local v=$1 if [ -z $2 ]; then @@ -24,4 +26,4 @@ function log() { log_msg=$2 echo -e "$logprefix$log_identifier$log_suffix $log_msg" -} \ No newline at end of file +}