set -u before return

Follow up to a4d21f059.
This commit is contained in:
Daniel Hahler 2020-01-26 15:07:41 +01:00
parent f755370682
commit 20f5f44883

View File

@ -582,6 +582,7 @@ list_missing_previous_vimpatches_for_patch() {
set +u # Avoid "unbound variable" with bash < 4.4 below.
if [[ -z "${missing_list[*]}" ]]; then
msg_ok 'no missing previous Vim patches'
set -u
return 0
fi
set -u