summaryrefslogtreecommitdiff
path: root/usrbin
diff options
context:
space:
mode:
Diffstat (limited to 'usrbin')
-rw-r--r--usrbin/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/usrbin/main.c b/usrbin/main.c
index 3b6dd97..6acf5fe 100644
--- a/usrbin/main.c
+++ b/usrbin/main.c
@@ -46,6 +46,9 @@ void pid2(void) {
if(time() == 2)
kill(1, 1);
printf("0x%04x:0x%08x: 0x%08x, 0x%08x\n", getpid(), (uint32_t) getpdir(), time(), x++);
+
+ if(x > 3)
+ kill(getpid(), SIGKILL);
}
}