Change no values file to non-fatal (return 0)

This commit is contained in:
rwxrob 2021-08-23 22:59:58 -04:00
parent 82af5adc4c
commit 5954cd7f97
No known key found for this signature in database
GPG Key ID: 1CCACEDD2F65578E
1 changed files with 1 additions and 1 deletions

2
cmd
View File

@ -270,7 +270,7 @@ _set_config() {
_read_config() {
local path="$XDG_CONFIG_HOME/$EXE/values"
[[ -r "$path" ]] || return 1
[[ -r "$path" ]] || return 0
while IFS= read -r line; do
[[ $line =~ ^([^=]+)=(.+)$ ]] || continue
CONFIG["${BASH_REMATCH[1]}"]="${BASH_REMATCH[2]}"