kiss: unset _des in early return

This commit is contained in:
Dylan Araps 2021-07-20 17:50:37 +03:00
parent c2aa4b4ab6
commit c4d3ba4390
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C
1 changed files with 1 additions and 1 deletions

2
kiss
View File

@ -330,7 +330,7 @@ pkg_cache() {
pkg_source_resolve() {
# Given a line of input from the sources file, return an absolute
# path to the source if it already exists, error if not.
ok "${2##\#*}" || { _res=; return; }
ok "${2##\#*}" || { unset _res _des; return; }
unset _des