freebsd / crochet

Build FreeBSD images for RaspberryPi, BeagleBone, PandaBoard, and others.
BSD 2-Clause "Simplified" License
609 stars 187 forks source link

Adding Users to Groups doesn't work. #225

Open Parakleta opened 6 years ago

Parakleta commented 6 years ago

In the option/User/setup.sh file it currently uses the test [ $? -gt 2 ] to determine whether to try and add the user to additional groups. I think probably the intended test is [ $# -ge 2 ] (or [ $# -gt 1 ] if you like).