• Ozan Tezcan's avatar
    Set errno to EEXIST in redisFork() if child process exists (#10059) · 568c2e03
    Ozan Tezcan authored
    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. 
    568c2e03
fork.tcl 1.06 KB