about summary refs log tree commit diff
path: root/Completion/Linux
diff options
context:
space:
mode:
authorsergio <mailbox@sergio.spb.ru>2014-01-17 05:51:20 +0400
committerPeter Stephenson <pws@zsh.org>2014-01-17 10:15:27 +0000
commit3e199e5e1739e35f74f004a9e67f4ae7c239261a (patch)
tree29ff81acb6ead1dae84692500b2a325110f31058 /Completion/Linux
parent82a3591f577a05f0941a425a631fae8058fa23ba (diff)
downloadzsh-3e199e5e1739e35f74f004a9e67f4ae7c239261a.tar.gz
zsh-3e199e5e1739e35f74f004a9e67f4ae7c239261a.tar.xz
zsh-3e199e5e1739e35f74f004a9e67f4ae7c239261a.zip
32267: use explicit path to modinfo for completion
Diffstat (limited to 'Completion/Linux')
-rw-r--r--Completion/Linux/Command/_modutils2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Linux/Command/_modutils b/Completion/Linux/Command/_modutils
index 39e00b4b0..66e65d32e 100644
--- a/Completion/Linux/Command/_modutils
+++ b/Completion/Linux/Command/_modutils
@@ -127,7 +127,7 @@ _modutils() {
 		_message -e value 'parameter value'
 	    else
 		local params
-		params=( ${${(M)${(f)"$(_call_program module_parameter modinfo "$words[2]" 2>/dev/null)"}:#parm:*}##parm:[[:space:]]##} )
+		params=( ${${(M)${(f)"$(_call_program module_parameter /sbin/modinfo "$words[2]" 2>/dev/null)"}:#parm:*}##parm:[[:space:]]##} )
 		if [[ $#params -eq 0 ]]; then
 		    _message -e parameter "This modules doesn't have parameters"
 		else