summaryrefslogtreecommitdiff
path: root/src/misc/s6-linux-init-nuke.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc/s6-linux-init-nuke.c')
-rw-r--r--src/misc/s6-linux-init-nuke.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/misc/s6-linux-init-nuke.c b/src/misc/s6-linux-init-nuke.c
new file mode 100644
index 0000000..93326e5
--- /dev/null
+++ b/src/misc/s6-linux-init-nuke.c
@@ -0,0 +1,8 @@
+/* ISC license. */
+
+#include <signal.h>
+
+int main (void)
+{
+ return kill(-1, SIGKILL) < 0 ;
+}