From 10385fff58e2860db418ee6da3dc46626f03f5e7 Mon Sep 17 00:00:00 2001 From: z3rOR0ne Date: Thu, 14 Jul 2022 12:31:03 -0700 Subject: [PATCH] :goal_net: Set basic flags for error handling --- scripts/bgit | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/bgit b/scripts/bgit index d1ce0150..f11ac4a0 100755 --- a/scripts/bgit +++ b/scripts/bgit @@ -1,5 +1,9 @@ #!/bin/bash +# Error handling +set -e +set -u + # For styling/colorizing output txtbld=$(tput bold) txtblue=${txtbld}$(tput setaf 4)