aboutsummaryrefslogtreecommitdiffstats
path: root/add-group
diff options
context:
space:
mode:
Diffstat (limited to 'add-group')
-rwxr-xr-xadd-group4
1 files changed, 2 insertions, 2 deletions
diff --git a/add-group b/add-group
index 406062f..2867c90 100755
--- a/add-group
+++ b/add-group
@@ -20,7 +20,7 @@ num=$2 # number of packages installed
name=$3 # name of the group
users=$4 # users to add to this group
-/usr/sbin/groupadd -r $name > /dev/null 2>&1
+/usr/sbin/groupadd -r $name > /dev/null
if [ -n "$users" ]; then
SAVED_IFS="$IFS"
@@ -33,7 +33,7 @@ if [ -n "$users" ]; then
if [ -n "$old" ]; then
old=`echo ",$old" | sed 's/ /,/g'`
fi
- /usr/sbin/usermod -G $name$old $u > /dev/null 2>&1
+ /usr/sbin/usermod -G $name$old $u > /dev/null
done
fi