Fixed previous commit

This commit is contained in:
Vojtech Bubnik 2021-12-15 14:52:01 +01:00
parent 5ba9d59307
commit b2bcf17dfa
2 changed files with 2 additions and 2 deletions

View file

@ -590,7 +590,7 @@ bool take_config_snapshot_cancel_on_error(const AppConfig &app_config, Snapshot:
{
try {
const Snapshot *snapshot = &SnapshotDB::singleton().take_snapshot(app_config, reason, comment);
if (*psnapshot)
if (psnapshot)
*psnapshot = snapshot;
return true;
} catch (std::exception &err) {