Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
celllframe-node
Manage
Activity
Members
Labels
Plan
Issues
5
Issue boards
Milestones
Code
Merge requests
17
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cellframe
celllframe-node
Commits
ac8c390f
Commit
ac8c390f
authored
6 months ago
by
Dmitry Puzyrkov
Browse files
Options
Downloads
Patches
Plain Diff
[*] conftool: get do not rewrite file
parent
c47f3df6
No related branches found
No related tags found
1 merge request
!1710
Hotfixes 1007
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
conftool/commands/ConfigCommand.cpp
+2
-2
2 additions, 2 deletions
conftool/commands/ConfigCommand.cpp
with
2 additions
and
2 deletions
conftool/commands/ConfigCommand.cpp
+
2
−
2
View file @
ac8c390f
...
...
@@ -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
tru
e
;
return
fals
e
;
};
//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
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment