Run gpg with --no-tty. Closes: #654721
This commit is contained in:
parent
156de9fc40
commit
769edd6b08
2 changed files with 5 additions and 3 deletions
|
@ -28,8 +28,9 @@ stdParams params = do
|
||||||
let batch = if isNothing e then [] else ["--batch"]
|
let batch = if isNothing e then [] else ["--batch"]
|
||||||
return $ batch ++ defaults ++ toCommand params
|
return $ batch ++ defaults ++ toCommand params
|
||||||
where
|
where
|
||||||
-- be quiet, even about checking the trustdb
|
-- be quiet, even about checking the trustdb,
|
||||||
defaults = ["--quiet", "--trust-model", "always"]
|
-- and avoid using a tty
|
||||||
|
defaults = ["--quiet", "--trust-model", "always", "--no-tty"]
|
||||||
|
|
||||||
{- Runs gpg with some params and returns its stdout, strictly. -}
|
{- Runs gpg with some params and returns its stdout, strictly. -}
|
||||||
readStrict :: [CommandParam] -> IO String
|
readStrict :: [CommandParam] -> IO String
|
||||||
|
|
3
debian/changelog
vendored
3
debian/changelog
vendored
|
@ -1,4 +1,4 @@
|
||||||
git-annex (3.20111232) UNRELEASED; urgency=low
|
git-annex (3.20120105) UNRELEASED; urgency=low
|
||||||
|
|
||||||
* Added annex-web-options configuration settings, which can be
|
* Added annex-web-options configuration settings, which can be
|
||||||
used to provide parameters to whichever of wget or curl git-annex uses
|
used to provide parameters to whichever of wget or curl git-annex uses
|
||||||
|
@ -11,6 +11,7 @@ git-annex (3.20111232) UNRELEASED; urgency=low
|
||||||
* Added quickcheck to build dependencies, and fail if test suite cannot be
|
* Added quickcheck to build dependencies, and fail if test suite cannot be
|
||||||
built.
|
built.
|
||||||
* fsck: Do backend-specific check before checking numcopies is satisfied.
|
* fsck: Do backend-specific check before checking numcopies is satisfied.
|
||||||
|
* Run gpg with --no-tty. Closes: #654721
|
||||||
|
|
||||||
-- Joey Hess <joeyh@debian.org> Mon, 02 Jan 2012 14:19:19 -0400
|
-- Joey Hess <joeyh@debian.org> Mon, 02 Jan 2012 14:19:19 -0400
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue