diff options
Diffstat (limited to 'sys-kernel/genkernel/files/genkernel-4.bash')
-rw-r--r-- | sys-kernel/genkernel/files/genkernel-4.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-kernel/genkernel/files/genkernel-4.bash b/sys-kernel/genkernel/files/genkernel-4.bash index 631fc8b30e47..f72aa7a22409 100644 --- a/sys-kernel/genkernel/files/genkernel-4.bash +++ b/sys-kernel/genkernel/files/genkernel-4.bash @@ -11,7 +11,7 @@ _genkernel() prev=${COMP_WORDS[COMP_CWORD-1]} # extract initial list of params/actions from genkernel --help - genkernel_help=$(command genkernel --help) + genkernel_help=$(command genkernel --help 2>/dev/null) actions=( $(<<<"$genkernel_help" sed -n \ '/^Available Actions:/,/^$/s/^[[:space:]]\+\([^[:space:]]\+\).*/\1/p') ) params=( $(<<<"$genkernel_help" egrep -oe '--[^[:space:]]{2,}') ) |