From 8df1d35909ec2d57a6845f5b2c26ee1e83cfd032 Mon Sep 17 00:00:00 2001 From: Woodpecker CI Date: Tue, 3 Jun 2025 14:32:34 +0000 Subject: Woodpecker CI 5171f1fdd74e7137c305450dd69a29fa5be4143f [SKIP CI] --- busybox/pause.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 busybox/pause.c (limited to 'busybox/pause.c') diff --git a/busybox/pause.c b/busybox/pause.c new file mode 100644 index 00000000..4825df6b --- /dev/null +++ b/busybox/pause.c @@ -0,0 +1,20 @@ +#include +#include + +static void +nop(int sig) +{ +} + +int +main() +{ + signal(SIGTERM, nop); + signal(SIGINT, nop); + signal(SIGHUP, SIG_IGN); + + pause(); + + return 0; +} + -- cgit v1.2.3