From b7c712d092d7de3f2d183fe38027d0dcf5444971 Mon Sep 17 00:00:00 2001 From: emma Date: Wed, 29 Mar 2023 19:55:35 -0400 Subject: [PATCH] added set -e --- startsway | 2 ++ 1 file changed, 2 insertions(+) diff --git a/startsway b/startsway index cd63732..c821839 100755 --- a/startsway +++ b/startsway @@ -7,6 +7,8 @@ # permitted in any medium without royalty provided the copyright notice and this # notice are preserved. This file is offered as-is, without any warranty. +set -e + # check if $LOG_DIR is set, if it isn’t, provide a default if test -z "$LOG_DIR"; then LOG_DIR="$HOME/.var/log"