mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-01-05 02:25:37 -05:00
Fix database save calls in CLI due to backup path
This commit is contained in:
parent
84ff6a13f9
commit
6f5bbf7ad1
12 changed files with 13 additions and 13 deletions
|
|
@ -95,7 +95,7 @@ int Merge::executeWithDatabase(QSharedPointer<Database> database, QSharedPointer
|
|||
|
||||
if (!changeList.isEmpty() && !parser->isSet(Merge::DryRunOption)) {
|
||||
QString errorMessage;
|
||||
if (!database->save(Database::Atomic, QString(), &errorMessage)) {
|
||||
if (!database->save(Database::Atomic, {}, &errorMessage)) {
|
||||
err << QObject::tr("Unable to save database to file : %1").arg(errorMessage) << endl;
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue