Don't print error output in the test whether gpgconf works (#26682)
This commit is contained in:
parent
1156c7d0a9
commit
1e5f7b3542
@ -344,7 +344,7 @@ def _gpgconf():
|
|||||||
|
|
||||||
# ensure that the gpgconf we found can run "gpgconf --create-socketdir"
|
# ensure that the gpgconf we found can run "gpgconf --create-socketdir"
|
||||||
try:
|
try:
|
||||||
exe('--dry-run', '--create-socketdir')
|
exe('--dry-run', '--create-socketdir', output=os.devnull, error=os.devnull)
|
||||||
except spack.util.executable.ProcessError:
|
except spack.util.executable.ProcessError:
|
||||||
# no dice
|
# no dice
|
||||||
exe = None
|
exe = None
|
||||||
|
Loading…
Reference in New Issue
Block a user