aboutsummaryrefslogtreecommitdiffstats
path: root/add-group
diff options
context:
space:
mode:
Diffstat (limited to 'add-group')
-rwxr-xr-xadd-group2
1 files changed, 1 insertions, 1 deletions
diff --git a/add-group b/add-group
index 365c043..add2213 100755
--- a/add-group
+++ b/add-group
@@ -28,7 +28,7 @@ IFS="$SAVED_IFS"
/usr/sbin/groupadd -r $name > /dev/null 2>&1
for u in $*; do
- /usr/sbin/usermod -G $1 $u > /dev/null 2>&1
+ /usr/sbin/usermod -G $name $u > /dev/null 2>&1
done
exit 0