Skip to content

Commit

Permalink
zfsbootmenu-core: remove SIGINT trap when launching e-shell
Browse files Browse the repository at this point in the history
Closes: #487 [via git-merge-pr]
  • Loading branch information
midzelis authored and ahesford committed Sep 21, 2023
1 parent abf9649 commit 6afe2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zfsbootmenu/lib/zfsbootmenu-core.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6afe2ff

Please sign in to comment.