diff --git a/lib/install.sh b/lib/install.sh index 8230520..4992ac1 100755 --- a/lib/install.sh +++ b/lib/install.sh @@ -30,7 +30,8 @@ function prepare_lxd { realcommand="$MIAOU_BASEDIR/lib/install.sh" sg "$NEW_GROUP" -c "EMAIL=$valid_email $realcommand SESSION_RELOAD_REQUIRED $TARGET" - sg "$NEW_GROUP" -c bash + # sg "$NEW_GROUP" bash + sudo su - "$(whoami)" kill -9 "$PPID" # no further processing because exec has been called! @@ -479,8 +480,8 @@ else extra_dev_desktop if [[ "$SESSION_RELOAD_REQUIRED" == true ]]; then - echoinfo "successful session installation" - echowarn "be aware: the current session has been reloaded, due to new group <$NEW_GROUP>. Next time you type \`exit\`, this session will emit a kill signal!" + echoinfo "successful \`session\` installation" + echowarn "current session has been reloaded, due to new group <$NEW_GROUP>! Next time you type \`exit\`, this session will emit a kill signal!" else echoinfo "successful installation" fi