Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
a063c8c1
Commit
a063c8c1
authored
Apr 13, 2020
by
Itamar Haber
Browse files
Prevents default save configuration being reset...
...when using any command line argument
parent
767977c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.c
View file @
a063c8c1
...
@@ -5035,7 +5035,6 @@ int main(int argc, char **argv) {
...
@@ -5035,7 +5035,6 @@ int main(int argc, char **argv) {
"Sentinel needs config file on disk to save state. Exiting..."
);
"Sentinel needs config file on disk to save state. Exiting..."
);
exit
(
1
);
exit
(
1
);
}
}
resetServerSaveParams
();
loadServerConfig
(
configfile
,
options
);
loadServerConfig
(
configfile
,
options
);
sdsfree
(
options
);
sdsfree
(
options
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment