don't save on exit
This commit is contained in:
parent
25a2f05b21
commit
cfe240397f
@ -179,8 +179,6 @@ auto run_cmd(const app_config &cfg, std::string_view cfg_file) -> int {
|
|||||||
|
|
||||||
state_db.close();
|
state_db.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
cfg.save(cfg_file);
|
|
||||||
} catch (const std::exception &ex) {
|
} catch (const std::exception &ex) {
|
||||||
utils::error::handle_exception(function_name, ex);
|
utils::error::handle_exception(function_name, ex);
|
||||||
ret = 2;
|
ret = 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user