From: Samuel Mendoza-Jonas Date: Tue, 5 Jun 2018 00:01:06 +0000 (+1000) Subject: utils/pb-console: Ignore SIGINT X-Git-Tag: v1.10.0~13 X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=commitdiff_plain;h=cfd6bf4f7da1ee71a65f57f28912d43ab757b968 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 --- 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