projects
/
petitboot
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce14ac6
)
utils/pb-console: Ignore SIGINT
author
Samuel Mendoza-Jonas
<sam@mendozajonas.com>
Tue, 5 Jun 2018 00:01:06 +0000
(10:01 +1000)
committer
Samuel Mendoza-Jonas
<sam@mendozajonas.com>
Mon, 3 Dec 2018 03:39:57 +0000
(14:39 +1100)
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 <sam@mendozajonas.com>
utils/pb-console
patch
|
blob
|
history
diff --git
a/utils/pb-console
b/utils/pb-console
index 62952959a10b03409f6d8f5bc5de7b67f1d748c4..ad601e2eb879a4871ff93c4380f7240fa44c89b5 100644
(file)
--- 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