cli: print reader name as part of status command

This commit is contained in:
Tony Arcieri
2019-12-10 08:36:44 -08:00
parent 26c777b6ec
commit 08897ec7c9
4 changed files with 13 additions and 5 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ fn init_yubikey() -> Mutex<YubiKey> {
env_logger::builder().format_timestamp(None).init();
}
let mut yubikey = YubiKey::open().unwrap();
let yubikey = YubiKey::open().unwrap();
trace!("serial: {}", yubikey.serial());
trace!("version: {}", yubikey.version());