From: Koichi Murase Date: Tue, 1 Jul 2025 13:39:23 +0000 (+0900) Subject: bash-completion: fix function name of enosys completion X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c83058dcd3a4dc703d64e245eff2d5db281a1b79;p=thirdparty%2Futil-linux.git bash-completion: fix function name of enosys completion The function "_enosys_module" referenced by the completion setting on the last line of "bash-completion/enosys" is not defined in the current master. As reported in Ref. [1], this causes the following error on an attempt at argument completion for the "enosys" command: bash: _enosys_module: command not found [1] https://www.reddit.com/r/Fedora/comments/1llmu0w/comment/n00y98k/ Also, the function "_waitpid_module" defined in "bash-completion/enosys" overwrites another completion function of the same name defined in "bash-completion/waitpid". This patch renames the function in "bash-completion/enosys" to the correct one, "_enosys_module". --- diff --git a/bash-completion/enosys b/bash-completion/enosys index d89bc8f09..f5c4ae9df 100644 --- a/bash-completion/enosys +++ b/bash-completion/enosys @@ -1,4 +1,4 @@ -_waitpid_module() +_enosys_module() { local cur prev OPTS COMPREPLY=()