From 6ac1dd30e64bf90b091eaa3d0c1536fbc411b8dd Mon Sep 17 00:00:00 2001 From: kevinnls <57634663+kevinnls@users.noreply.github.com> Date: Fri, 8 Jan 2021 02:05:12 +0530 Subject: [PATCH] enable `set -e` --- bak-old.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bak-old.sh b/bak-old.sh index 00a2c61..d4c7c3e 100755 --- a/bak-old.sh +++ b/bak-old.sh @@ -10,6 +10,9 @@ version='0.1.0-beta' ### IFS precautions # OLDIFS="$IFS" unset IFS +### error precautions +set -e +##################### debug(){ ### function to call when $DEBUG is set set -xv