Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
completion: avoid potential hangs in dnf_commands_helper()
The completion helper can hang indefinitely waiting for user input (which the user cannot see). The --assumeno option ensures any prompts are answered negatively. Using the --nogpgcheck option avoids the helper downloading gpgkeys for repos which have repo_gpgcheck=1 set. This can speed up the completion quite a bit. Lastly, redirect input from /dev/null to ensure the completion_helper command knows it has no controlling tty on which to wait for input. Closes: #894 Approved by: m-blaha
- Loading branch information