diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-02 23:04:00 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-02 23:04:00 -0500 |
commit | 9383d7ea482986e20c537797e8f788c648fda756 (patch) | |
tree | 0349dc74e89499f856ef2f5284ff4c9caecacd90 /src/pinentry.rs | |
parent | 791302bdb4f06e4a3d2052dbab243d5c18dd0ab0 (diff) | |
download | rbw-9383d7ea482986e20c537797e8f788c648fda756.tar.gz rbw-9383d7ea482986e20c537797e8f788c648fda756.zip |
upgrade to tokio 1.2
Diffstat (limited to 'src/pinentry.rs')
-rw-r--r-- | src/pinentry.rs | 2 |
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)) } |