Prevents default save configuration being reset...

...when using any command line argument
This commit is contained in:
Itamar Haber 2020-04-13 17:28:11 +03:00
parent c62528f9e2
commit 658f6ea302

View File

@ -5035,7 +5035,6 @@ int main(int argc, char **argv) {
"Sentinel needs config file on disk to save state. Exiting...");
exit(1);
}
resetServerSaveParams();
loadServerConfig(configfile,options);
sdsfree(options);
}