Prevents default save configuration being reset...
...when using any command line argument
This commit is contained in:
parent
c62528f9e2
commit
658f6ea302
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user