added set -e

This commit is contained in:
Emma Tebibyte 2023-03-29 19:55:35 -04:00
parent 41fab4b892
commit b7c712d092
Signed by: emma
GPG Key ID: 6D661C738815E7DD
1 changed files with 2 additions and 0 deletions

View File

@ -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 isnt, provide a default
if test -z "$LOG_DIR"; then
LOG_DIR="$HOME/.var/log"