summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2018-06-22 12:49:56 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2018-08-20 19:53:44 -0400
commit5b75cfbf19e57975ce98b900fecabadf2cac6160 (patch)
tree66b00b24fd3f5114b08dc009895043ef909774f9
parent0b0925a124562b667f22cd68fbfd9b0be08825e3 (diff)
config: Be friendly with `set -e` programs
-rw-r--r--config2
1 files changed, 1 insertions, 1 deletions
diff --git a/config b/config
index 712b1f0..3cbc176 100644
--- a/config
+++ b/config
@@ -43,4 +43,4 @@ FROM="repomaint@archlinux.org"
# Override default config with config.local
LOCAL_CONFIG=${DBSCRIPTS_CONFIG:-"$(dirname ${BASH_SOURCE[0]})/config.local"}
-[[ -f "${LOCAL_CONFIG}" ]] && . "${LOCAL_CONFIG}"
+if [[ -f "${LOCAL_CONFIG}" ]]; then . "${LOCAL_CONFIG}"; fi