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"