Ozan Tezcan 568c2e039b
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.
2022-01-06 09:54:21 +02:00
..
2020-09-20 13:36:20 +03:00
2021-01-28 16:19:43 +02:00
2020-11-11 22:57:33 +02:00