Replace the nonstandard `SIGCLD` signal name with the proper `SIGCHLD` spelling as the `SIGCLD` alias is not provided by musl. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
11 lines
284 B
Diff
11 lines
284 B
Diff
--- a/src/usbipd.c
|
|
+++ b/src/usbipd.c
|
|
@@ -453,7 +453,7 @@ static void set_signal(void)
|
|
sigaction(SIGTERM, &act, NULL);
|
|
sigaction(SIGINT, &act, NULL);
|
|
act.sa_handler = SIG_IGN;
|
|
- sigaction(SIGCLD, &act, NULL);
|
|
+ sigaction(SIGCHLD, &act, NULL);
|
|
}
|
|
|
|
static const char *pid_file;
|