small fix

This commit is contained in:
teldra 2021-03-12 23:45:21 +01:00
parent 85905b84cb
commit 5b92f06555
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ for i in $(seq 1 "${users[amount]}"); do
usermod -a -G socklog,wheel "${users[name$i]}"
passwd -dl root
if grep -q lpadmin /etc/group; then
usermod -a -G lpadmin "${users[$i]}"
usermod -a -G lpadmin "${users[name$i]}"
fi
fi