aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Lepied <flepied@mandriva.com>2002-07-29 15:22:09 +0000
committerFrederic Lepied <flepied@mandriva.com>2002-07-29 15:22:09 +0000
commit0f929a936e4e54b8065a376346753dd440115535 (patch)
tree2ff4f6917f7a558245d59fbe775e3899dc019fae
parentfd7b27050020f491331a2c539cd6b10834ed2689 (diff)
downloadrpm-helper-0f929a936e4e54b8065a376346753dd440115535.tar
rpm-helper-0f929a936e4e54b8065a376346753dd440115535.tar.gz
rpm-helper-0f929a936e4e54b8065a376346753dd440115535.tar.bz2
rpm-helper-0f929a936e4e54b8065a376346753dd440115535.tar.xz
rpm-helper-0f929a936e4e54b8065a376346753dd440115535.zip
corrected group argument passing
-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