From 0ebf336489f288549ce11bc78bbb2289b604959b Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 2 Nov 2017 21:36:55 +0100 Subject: 41971: correctly break out of certain tag loops when there are matches --- Completion/Linux/Command/_modutils | 1 + 1 file changed, 1 insertion(+) (limited to 'Completion/Linux') diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils index 5aa4c9cc7..9a37fcae1 100644 --- a/Completion/Linux/Command/_modutils +++ b/Completion/Linux/Command/_modutils @@ -119,6 +119,7 @@ _modutils() { while _tags; do _requested files expl "module file" _files -g '*.ko(-.)' && ret=0 _requested modules expl module compadd -a modules && ret=0 + (( ret )) || break done ;; -- cgit 1.4.1