Skip to content
Snippets Groups Projects
Commit ac8c390f authored by Dmitry Puzyrkov's avatar Dmitry Puzyrkov
Browse files

[*] conftool: get do not rewrite file

parent c47f3df6
No related branches found
No related tags found
1 merge request!1710Hotfixes 1007
......@@ -132,11 +132,11 @@ bool CConfigCommand::execute(bool non_intercative, int flags)
std::string cfg_val;
bool param_exists = cfg.exists(this->group, this->param, &cfg_val);
std::cout << this->cfg_name << ": ["<<this->group<<"] " << this->param+"="+cfg_val<<std::endl;
return true;
return false;
};
//actions return true if config was altered and need to be saved
bool res = actions[this->action]();
if (res) cfg.save();
return res;
return true;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment