summaryrefslogtreecommitdiff
path: root/completions/munin-run
diff options
context:
space:
mode:
Diffstat (limited to 'completions/munin-run')
-rw-r--r--completions/munin-run4
1 files changed, 2 insertions, 2 deletions
diff --git a/completions/munin-run b/completions/munin-run
index cf8ad9c1..03c686d0 100644
--- a/completions/munin-run
+++ b/completions/munin-run
@@ -19,8 +19,8 @@ _munin_run()
if [[ "$cur" == -* ]]; then
COMPREPLY=( $( compgen -W '$( _parse_help "$1" )' -- "$cur" ) )
else
- COMPREPLY=( $( compgen -W '$( command ls /etc/munin/plugins )' \
- -- "$cur" ) )
+ COMPREPLY=( $( compgen -W \
+ '$( command ls /etc/munin/plugins 2>/dev/null )' -- "$cur" ) )
fi
} &&
complete -F _munin_run munin-run