diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-06-05 10:01:06 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2018-12-03 14:39:57 +1100 |
commit | cfd6bf4f7da1ee71a65f57f28912d43ab757b968 (patch) | |
tree | 453382ce3c09a643574938455fe6989e2871762d /utils | |
parent | ce14ac6dd659cb5e577db1d98abb061e36edbdec (diff) | |
download | talos-petitboot-cfd6bf4f7da1ee71a65f57f28912d43ab757b968.tar.gz talos-petitboot-cfd6bf4f7da1ee71a65f57f28912d43ab757b968.zip |
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 <sam@mendozajonas.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/pb-console | 2 |
1 files changed, 2 insertions, 0 deletions
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 |