mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-08-22 21:15:15 -04:00
Don't show a warning when opening a database without WITH_XC_YUBIKEY.
This commit is contained in:
parent
62027d35ea
commit
b8830dfd32
1 changed files with 4 additions and 0 deletions
|
@ -52,7 +52,11 @@ int DatabaseCommand::execute(const QStringList& arguments)
|
||||||
db = Utils::unlockDatabase(args.at(0),
|
db = Utils::unlockDatabase(args.at(0),
|
||||||
!parser->isSet(Command::NoPasswordOption),
|
!parser->isSet(Command::NoPasswordOption),
|
||||||
parser->value(Command::KeyFileOption),
|
parser->value(Command::KeyFileOption),
|
||||||
|
#ifdef WITH_XC_YUBIKEY
|
||||||
parser->value(Command::YubiKeyOption),
|
parser->value(Command::YubiKeyOption),
|
||||||
|
#else
|
||||||
|
"",
|
||||||
|
#endif
|
||||||
parser->isSet(Command::QuietOption) ? Utils::DEVNULL : Utils::STDOUT,
|
parser->isSet(Command::QuietOption) ? Utils::DEVNULL : Utils::STDOUT,
|
||||||
Utils::STDERR);
|
Utils::STDERR);
|
||||||
if (!db) {
|
if (!db) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue