@ -90,6 +90,13 @@ function disable_trace() {
trap - ERR
}
function disable_all_signals {
trap - HUP
trap - INT
trap - TERM
function prepare_nftables() {
local PREFIX="miaou:nftables"
@ -30,7 +30,9 @@ function prepare_lxd {
realcommand="$MIAOU_BASEDIR/lib/install.sh"
sg "$NEW_GROUP" -c "EMAIL=$valid_email $realcommand SESSION_RELOAD_REQUIRED $TARGET"
# sg "$NEW_GROUP" bash
set +e
disable_all_signals
sudo su - "$(whoami)"
kill -9 "$PPID"
# no further processing because exec has been called!