diff --git a/lib/install.sh b/lib/install.sh index 8abbd8c..8230520 100755 --- a/lib/install.sh +++ b/lib/install.sh @@ -29,9 +29,8 @@ function prepare_lxd { sudo usermod --append --groups "$NEW_GROUP" "$(whoami)" realcommand="$MIAOU_BASEDIR/lib/install.sh" - echo sg "$NEW_GROUP" -c "EMAIL=$valid_email $realcommand SESSION_RELOAD_REQUIRED $TARGET" sg "$NEW_GROUP" -c "EMAIL=$valid_email $realcommand SESSION_RELOAD_REQUIRED $TARGET" - sg "$NEW_GROUP" -c 'bash -l' + sg "$NEW_GROUP" -c bash kill -9 "$PPID" # no further processing because exec has been called!