mirror of
https://github.com/troglobit/finit.git
synced 2026-11-06 15:51:03 +00:00
sig.c: Skip unknown signals, e.g. musl libc does not define SIGCLD
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
9d9b6b5201
commit
37d92e87bc
1 file changed
+6
@@ -142,9 +142,15 @@ static struct sigmap {
|
|||||||
{ SIGPWR, "SIGPWR" },
|
{ SIGPWR, "SIGPWR" },
|
||||||
|
|
||||||
/* Archaic names for compatibility. */
|
/* Archaic names for compatibility. */
|
||||||
|
#ifdef SIGIO
|
||||||
{ SIGIO, "SIGIO" },
|
{ SIGIO, "SIGIO" },
|
||||||
|
#endif
|
||||||
|
#ifdef SIGIOT
|
||||||
{ SIGIOT, "SIGIOT" },
|
{ SIGIOT, "SIGIOT" },
|
||||||
|
#endif
|
||||||
|
#ifdef SIGCLD
|
||||||
{ SIGCLD, "SIGCLD" },
|
{ SIGCLD, "SIGCLD" },
|
||||||
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
void mdadm_wait(void);
|
void mdadm_wait(void);
|
||||||
|
|||||||
Reference in new issue
Block a user