summaryrefslogtreecommitdiff
path: root/src/lazyfree.c
diff options
context:
space:
mode:
authorOzan Tezcan <ozantezcan@gmail.com>2022-01-06 10:54:21 +0300
committerGitHub <noreply@github.com>2022-01-06 09:54:21 +0200
commit568c2e039bac388003068cd8debb2f93619dd462 (patch)
treea446158bfcc7cff23de2c8937acf049c71c060d4 /src/lazyfree.c
parent5dd15443ac755d9ad2a22aa8c341b25d3de82eb4 (diff)
downloadredis-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/lazyfree.c')
0 files changed, 0 insertions, 0 deletions