Simplify default config
This commit is contained in:
parent
1b336f912e
commit
9a31740184
1 changed files with 1 additions and 2 deletions
3
neofetch
3
neofetch
|
@ -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..."
|
||||
|
|
Loading…
Reference in a new issue