mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
More specific error message in loadServerConfigFromString().
This commit is contained in:
@@ -74,7 +74,7 @@ void loadServerConfigFromString(char *config) {
|
||||
/* Split into arguments */
|
||||
argv = sdssplitargs(lines[i],&argc);
|
||||
if (argv == NULL) {
|
||||
err = "can't parse this line";
|
||||
err = "Unbalanced quotes in configuration line";
|
||||
goto loaderr;
|
||||
}
|
||||
sdstolower(argv[0]);
|
||||
|
||||
Reference in New Issue
Block a user