From cfd6bf4f7da1ee71a65f57f28912d43ab757b968 Mon Sep 17 00:00:00 2001 From: Samuel Mendoza-Jonas Date: Tue, 5 Jun 2018 10:01:06 +1000 Subject: utils/pb-console: Ignore SIGINT Trap and ignore SIGINT to avoid a SIGINT intended for petitboot-nc also exiting the parent pb-console script. Signed-off-by: Samuel Mendoza-Jonas --- utils/pb-console | 2 ++ 1 file changed, 2 insertions(+) (limited to 'utils') diff --git a/utils/pb-console b/utils/pb-console index 6295295..ad601e2 100644 --- a/utils/pb-console +++ b/utils/pb-console @@ -134,6 +134,8 @@ fi # show particularly important messages dmesg -n 1 +trap '' SIGINT + while : do $ui $verbose_opt -- cgit v1.2.1