diff --git a/src/aof.c b/src/aof.c index bf7f22ca..ef6fe96a 100644 --- a/src/aof.c +++ b/src/aof.c @@ -187,7 +187,7 @@ void stopAppendOnly(void) { #else { int statloc; - if (kill(server.aof_child_pid,SIGUSR1) != -1) + if (kill(server.aof_child_pid,SIGUSR1) != -1) wait3(&statloc,0,NULL); } #endif