Browse Source

uloop: fix typo in signal handling rework

Fixes procd issues

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Felix Fietkau 11 months ago
parent
commit
8a5a4319a8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      uloop.c

+ 1 - 1
uloop.c

@@ -466,7 +466,7 @@ static void uloop_signal_wake(int signo)
 {
 	uint8_t sigbyte = signo;
 
-	if (signo == ECHILD)
+	if (signo == SIGCHLD)
 		do_sigchld = true;
 
 	do {