aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar David Leverton <levertond@googlemail.com> 2008-01-27 21:53:04 +0000
committerAvatar David Leverton <levertond@googlemail.com> 2008-01-27 21:53:04 +0000
commit783dde75f668b948157f2d9db6afef635e442e2f (patch)
tree54f2f3c777e1fe8b2d8872d0c8854a43a3016aeb
parent55730de423a12910b215eb5954a548a89bdbaf89 (diff)
downloadpaludis-783dde75f668b948157f2d9db6afef635e442e2f.tar.gz
paludis-783dde75f668b948157f2d9db6afef635e442e2f.tar.xz
Fix gpg checking.
-rw-r--r--paludis/repositories/e/qa/gpg.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/paludis/repositories/e/qa/gpg.cc b/paludis/repositories/e/qa/gpg.cc
index c751a8a..fe86c0d 100644
--- a/paludis/repositories/e/qa/gpg.cc
+++ b/paludis/repositories/e/qa/gpg.cc
@@ -66,12 +66,7 @@ paludis::erepository::gpg_check(
if (is_signed)
{
- FDHolder dev_null(::open("/dev/null", O_WRONLY));
-
- set_run_command_stdout_fds(dev_null, -1);
- set_run_command_stderr_fds(dev_null, -1);
-
- int status(run_command("gpg --verify " + stringify(manifest)));
+ int status(run_command("gpg --verify " + stringify(manifest) + " >/dev/null 2>/dev/null"));
if (1 == status)
reporter.message(QAMessage(manifest, qaml_normal, name, "Broken Manifest signature"));