From 6afe2ff248a9eceeaacb5168323c15597690844e Mon Sep 17 00:00:00 2001 From: Min Idzelis Date: Thu, 21 Sep 2023 10:37:31 -0400 Subject: [PATCH] zfsbootmenu-core: remove SIGINT trap when launching e-shell Closes: #487 [via git-merge-pr] --- zfsbootmenu/lib/zfsbootmenu-core.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zfsbootmenu/lib/zfsbootmenu-core.sh b/zfsbootmenu/lib/zfsbootmenu-core.sh index 38e945369..e165bf216 100755 --- a/zfsbootmenu/lib/zfsbootmenu-core.sh +++ b/zfsbootmenu/lib/zfsbootmenu-core.sh @@ -1896,7 +1896,7 @@ emergency_shell() { command -v efibootmgr >/dev/null 2>&1 && mount_efivarfs "rw" # -i (interactive) mode will source $HOME/.bashrc - /bin/bash -i + ( trap - SIGINT; exec /bin/bash -i ) # shellcheck disable=SC2034 while read -r skip mp fs skip ; do