aboutsummaryrefslogtreecommitdiffstats
path: root/src/pinentry.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-03-02 23:04:00 -0500
committerJesse Luehrs <doy@tozt.net>2021-03-02 23:04:00 -0500
commit9383d7ea482986e20c537797e8f788c648fda756 (patch)
tree0349dc74e89499f856ef2f5284ff4c9caecacd90 /src/pinentry.rs
parent791302bdb4f06e4a3d2052dbab243d5c18dd0ab0 (diff)
downloadrbw-9383d7ea482986e20c537797e8f788c648fda756.tar.gz
rbw-9383d7ea482986e20c537797e8f788c648fda756.zip
upgrade to tokio 1.2
Diffstat (limited to 'src/pinentry.rs')
-rw-r--r--src/pinentry.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pinentry.rs b/src/pinentry.rs
index 9711585..683a880 100644
--- a/src/pinentry.rs
+++ b/src/pinentry.rs
@@ -64,7 +64,7 @@ pub async fn getpin(
.await?;
buf.truncate(len);
- child.await.context(crate::error::PinentryWait)?;
+ child.wait().await.context(crate::error::PinentryWait)?;
Ok(crate::locked::Password::new(buf))
}