Fix bug with empty `values` file dumping line

This commit is contained in:
rwxrob 2021-08-23 23:06:47 -04:00
parent 5954cd7f97
commit 3acd8e9109
No known key found for this signature in database
GPG Key ID: 1CCACEDD2F65578E
1 changed files with 1 additions and 0 deletions

1
cmd
View File

@ -284,6 +284,7 @@ _write_config() {
} }
_dump_config() { _dump_config() {
(( ${#CONFIG[@]} == 0 )) && return 0
paste -d=\ paste -d=\
<(printf "%s\n" "${!CONFIG[@]}") \ <(printf "%s\n" "${!CONFIG[@]}") \
<(printf "%s\n" "${CONFIG[@]}") <(printf "%s\n" "${CONFIG[@]}")