mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2026-11-26 11:56:46 -08:00
Fix database save calls in CLI due to backup path
This commit is contained in:
12 files changed
+13
-13
No files matched your search
+1
-1
@@ -53,7 +53,7 @@ int Remove::executeWithDatabase(QSharedPointer<Database> database, QSharedPointe
|
||||
};
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user