From 7989b82c0436470a6bd03fd3bb336c1711092146 Mon Sep 17 00:00:00 2001 From: anaxios Date: Tue, 13 May 2025 17:13:40 -0700 Subject: [PATCH] handle ctrl-c now --- run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.sh b/run.sh index 60458f3..8046842 100644 --- a/run.sh +++ b/run.sh @@ -88,7 +88,7 @@ term_handler() { # setup handlers # on callback, kill the last background process, which is `tail -f /dev/null` and execute the specified handler #trap 'kill ${!}; my_handler' SIGUSR1 -trap 'kill ${!}; term_handler' SIGTERM +trap 'kill ${!}; term_handler' SIGTERM SIGINT # run application holesail $ARGS &