diff options
Diffstat (limited to 'bash-completion')
-rw-r--r-- | bash-completion/fsck | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bash-completion/fsck b/bash-completion/fsck index 816422f52..e5b4f53b4 100644 --- a/bash-completion/fsck +++ b/bash-completion/fsck @@ -32,7 +32,8 @@ _fsck_module() return 0 ;; esac - COMPREPLY=( $(compgen -W "$(find -L /dev/ -type b 2>/dev/null)" -- $cur) ) + COMPREPLY=( $(compgen -W "$(find -L /dev/ -path /dev/fd -prune \ + -o -type b -print 2>/dev/null)" -- $cur) ) return 0 } complete -F _fsck_module fsck |