Commit a063c8c1 authored by Itamar Haber's avatar Itamar Haber
Browse files

Prevents default save configuration being reset...

...when using any command line argument
parent 767977c5
...@@ -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);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment