summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'install.sh')
-rw-r--r--install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index 5bb980a..cf9e84a 100644
--- a/install.sh
+++ b/install.sh
@@ -283,7 +283,7 @@ EOF
artix-chroot /mnt bash -c "echo root:artix | chpasswd"
# Add new user
-[[ "${elogind}" == false ]] user_groups+=",seat"
+[[ "${elogind}" == false ]] && user_groups+=",seat"
artix-chroot /mnt bash -c "useradd -mG ${user_groups} ${user}"
artix-chroot /mnt bash -c "echo \"${user}:${password}\" | chpasswd"