ask
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-09-18 00:33:18 +02:00
parent 80c100d584
commit d3eb44852b
2 changed files with 3 additions and 3 deletions

View File

@@ -105,7 +105,7 @@ fn main() -> Fido2LuksResult<()> {
}
} else {
match args.first().map(|s| s.as_ref()).unwrap() {
"addkey" => add_key_to_luks(&Config::load_default_location()?).map(|_| ()),
"addkey" => add_key_to_luks(&conf).map(|_| ()),
"setup" => setup(),
"open" if args.get(1).map(|a| &*a == "-e").unwrap_or(false) => open(
&envy::prefixed("FIDO2LUKS_")