summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.sh b/src/main.sh
index 74a3bca..e56c076 100644
--- a/src/main.sh
+++ b/src/main.sh
@@ -111,9 +111,7 @@ _get_conf()
conf_gzip=true
conf_key=''
- if [ -f "${base_dir}/conf" ]; then
- . "${base_dir}/conf"
- fi
+ eval "$(cat "${base_dir}/conf" 2>/dev/null || :)"
old_dir="$(pwd)"
cd "${base_dir}"