Skip to content

Commit

Permalink
_modules: Ignore error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
GArik committed Jan 12, 2012
1 parent 1cb1e31 commit db53fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bash_completion
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ _modules()
{
local modpath
modpath=/lib/modules/$1
COMPREPLY=( $( compgen -W "$( command ls -RL $modpath | \
COMPREPLY=( $( compgen -W "$( command ls -RL $modpath 2>/dev/null | \
sed -ne 's/^\(.*\)\.k\{0,1\}o\(\.gz\)\{0,1\}$/\1/p' )" -- "$cur" ) )
}

Expand Down

0 comments on commit db53fc7

Please sign in to comment.