I've noticed this as well. It doesn't appear to be related to IPv4 vs. IPv6; it appears to return whichever entry is first in /etc/hosts.
- Feed Queries
- All Stories
- Search
- Feed Search
- Transactions
- Transaction Logs
Feed Search
May 4 2025
May 4 2025
ianhattendorf added a comment to T7377: IPv6 addresses in static-host-mapping don't resolve via local DNS.
Mar 15 2023
Mar 15 2023
Agreed. I just posted my workaround as a minimal fix to highlight the issue: accessing $? after another command was ran (which can be easy to miss).
I noticed this as well. The issue is expecting $? to refer to the exit code of minisign -V when it's actually referring to the exit code of the if [ -f ${filename}.asc ]; block which will always be 0.