提交 6c056976 编写于 作者: M Martin DeMello

Fix options passed to gpg in cargo init

上级 8b98e5a2
...@@ -102,7 +102,7 @@ fn verify(root: &Path, data: &Path, sig: &Path) -> bool { ...@@ -102,7 +102,7 @@ fn verify(root: &Path, data: &Path, sig: &Path) -> bool {
let path = root.push("gpg"); let path = root.push("gpg");
let res = gpgv(~[~"--homedir", path.to_str(), let res = gpgv(~[~"--homedir", path.to_str(),
~"--keyring", ~"pubring.gpg", ~"--keyring", ~"pubring.gpg",
~"--verbose", ~"--verify",
sig.to_str(), data.to_str()]); sig.to_str(), data.to_str()]);
if res.status != 0 { if res.status != 0 {
return false; return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册