user
10 KB
-
Code was adding '-a' even when the user was already in the desired groups… · 6a4e8d7f
Code was adding '-a' even when the user was already in the desired groups causing usermod to fail since there was no '-G' option. This is duplicate code (3 lines) from the 'group' section, so could be improved, but it works.
Peter Sankauskas committed