mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Don't show a warning when opening a database without WITH_XC_YUBIKEY.
This commit is contained in:
parent
62027d35ea
commit
b8830dfd32
@ -52,7 +52,11 @@ int DatabaseCommand::execute(const QStringList& arguments)
|
||||
db = Utils::unlockDatabase(args.at(0),
|
||||
!parser->isSet(Command::NoPasswordOption),
|
||||
parser->value(Command::KeyFileOption),
|
||||
#ifdef WITH_XC_YUBIKEY
|
||||
parser->value(Command::YubiKeyOption),
|
||||
#else
|
||||
"",
|
||||
#endif
|
||||
parser->isSet(Command::QuietOption) ? Utils::DEVNULL : Utils::STDOUT,
|
||||
Utils::STDERR);
|
||||
if (!db) {
|
||||
|
Loading…
Reference in New Issue
Block a user