Simplify default config

This commit is contained in:
Dylan Araps 2016-08-12 11:38:32 +10:00
parent 1b336f912e
commit 9a31740184
1 changed files with 1 additions and 2 deletions

View File

@ -2524,8 +2524,7 @@ getdefaultconfig () {
default_config="${script_dir}/config/config"
fi
if [ -f "$default_config" ]; then
source "$default_config"
if source "$default_config"; then
err "Sourced default config ($default_config)"
else
err "Default config not found, continuing..."