Debian buster
gpgconf 2.2.12-1
bash 5.0-1
Since I upgraded from bash 4.4 to bash 5.0, the following command launched as root loops endlessly:
# gpg-connect-agent --verbose updatestartuptty /bye
The gpg-agent is already running before the previous call.
No such issue when the call is made as a non-root user.