aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2020-01-26 15:07:41 +0100
committerDaniel Hahler <git@thequod.de>2020-01-26 15:07:44 +0100
commit20f5f448830db553ae9b3bc4cfc1602d66b0aa3e (patch)
treecc1a1468d00ba76e8d8b06245b2203808462eb97
parentf755370682ad6e82f468975b40cf734e5b5f47c9 (diff)
downloadrneovim-20f5f448830db553ae9b3bc4cfc1602d66b0aa3e.tar.gz
rneovim-20f5f448830db553ae9b3bc4cfc1602d66b0aa3e.tar.bz2
rneovim-20f5f448830db553ae9b3bc4cfc1602d66b0aa3e.zip
set -u before return
Follow up to a4d21f059.
-rwxr-xr-xscripts/vim-patch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/vim-patch.sh b/scripts/vim-patch.sh
index 6c9bea2ad3..7eeb644318 100755
--- a/scripts/vim-patch.sh
+++ b/scripts/vim-patch.sh
@@ -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