added set -e
This commit is contained in:
parent
41fab4b892
commit
b7c712d092
@ -7,6 +7,8 @@
|
|||||||
# permitted in any medium without royalty provided the copyright notice and this
|
# permitted in any medium without royalty provided the copyright notice and this
|
||||||
# notice are preserved. This file is offered as-is, without any warranty.
|
# 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
|
# check if $LOG_DIR is set, if it isn’t, provide a default
|
||||||
if test -z "$LOG_DIR"; then
|
if test -z "$LOG_DIR"; then
|
||||||
LOG_DIR="$HOME/.var/log"
|
LOG_DIR="$HOME/.var/log"
|
||||||
|
Loading…
Reference in New Issue
Block a user