Don't print error output in the test whether gpgconf works (#26682)

This commit is contained in:
Harmen Stoppels
2021-10-18 15:52:53 +02:00
committed by GitHub
parent 1156c7d0a9
commit 1e5f7b3542

View File

@@ -344,7 +344,7 @@ def _gpgconf():
# ensure that the gpgconf we found can run "gpgconf --create-socketdir"
try:
exe('--dry-run', '--create-socketdir')
exe('--dry-run', '--create-socketdir', output=os.devnull, error=os.devnull)
except spack.util.executable.ProcessError:
# no dice
exe = None