ubuntu: usermod -aG instead of -a -G

It's well documented everywhere that this command does and
it's commonly used with exactly these two parameters together
and in that order.
This commit is contained in:
Matthias Grob 2023-03-20 16:32:30 +01:00 committed by Daniel Agar
parent 5ca22df55c
commit 0c97b0f4b0

View File

@ -155,7 +155,7 @@ if [[ $INSTALL_NUTTX == "true" ]]; then
if [ -n "$USER" ]; then if [ -n "$USER" ]; then
# add user to dialout group (serial port access) # add user to dialout group (serial port access)
sudo usermod -a -G dialout $USER sudo usermod -aG dialout $USER
fi fi
# arm-none-eabi-gcc # arm-none-eabi-gcc