From 20f5f448830db553ae9b3bc4cfc1602d66b0aa3e Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Sun, 26 Jan 2020 15:07:41 +0100 Subject: set -u before return Follow up to a4d21f059. --- scripts/vim-patch.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts/vim-patch.sh') 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 -- cgit