diff options
author | Ozan Tezcan <ozantezcan@gmail.com> | 2022-01-06 10:54:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-06 09:54:21 +0200 |
commit | 568c2e039bac388003068cd8debb2f93619dd462 (patch) | |
tree | a446158bfcc7cff23de2c8937acf049c71c060d4 /src/commands/function-list.json | |
parent | 5dd15443ac755d9ad2a22aa8c341b25d3de82eb4 (diff) | |
download | redis-568c2e039bac388003068cd8debb2f93619dd462.tar.gz |
Set errno to EEXIST in redisFork() if child process exists (#10059)
Callers of redisFork() are logging `strerror(errno)` on failure.
`errno` is not set when there is already a child process, causing printing
current value of errno which was set before `redisFork()` call.
Setting errno to EEXIST on this failure to provide more meaningful error message.
Diffstat (limited to 'src/commands/function-list.json')
0 files changed, 0 insertions, 0 deletions