pvincent 10 months ago
parent
commit
e4ea820296
  1. 3
      lib/install.sh

3
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!

Loading…
Cancel
Save