From bab26a83ac485ae124f1cc5e331e46354eabd32e Mon Sep 17 00:00:00 2001 From: pvincent Date: Fri, 1 Mar 2024 23:39:53 +0400 Subject: [PATCH] fix env EMAIL --- lib/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/install.sh b/lib/install.sh index 300f8de..0ab4f6a 100755 --- a/lib/install.sh +++ b/lib/install.sh @@ -28,7 +28,7 @@ function prepare_lxd { sudo groupadd --force "$NEW_GROUP" sudo usermod --append --groups "$NEW_GROUP" "$(whoami)" - sg "$NEW_GROUP" -c "env EMAIL=$valid_email $0 SESSION_RELOAD_REQUIRED $TARGET" + sg "$NEW_GROUP" -c "EMAIL=$valid_email $0 SESSION_RELOAD_REQUIRED $TARGET $@" sg "$NEW_GROUP" -c bash kill -9 "$PPID" # no further processing because exec has been called! @@ -469,7 +469,7 @@ else prepare_toolbox add_toolbox_sudoers prepare_nftables - prepare_lxd + prepare_lxd "$@" preload_bookworm_image miaou_resolver miaou_evalfrombashrc