diff options
author | Guillaume Rousse <guillomovitch@mandriva.org> | 2009-03-29 17:46:44 +0000 |
---|---|---|
committer | Guillaume Rousse <guillomovitch@mandriva.org> | 2009-03-29 17:46:44 +0000 |
commit | 0fc0ce3e353bba96cb46d1589a3cf1cc2f932209 (patch) | |
tree | a5faad09f678466001f40385118e56ac81fccddc /add-group | |
parent | b149acb22b52d39f53b5d45e18779ad16eeee624 (diff) | |
download | rpm-helper-0fc0ce3e353bba96cb46d1589a3cf1cc2f932209.tar rpm-helper-0fc0ce3e353bba96cb46d1589a3cf1cc2f932209.tar.gz rpm-helper-0fc0ce3e353bba96cb46d1589a3cf1cc2f932209.tar.bz2 rpm-helper-0fc0ce3e353bba96cb46d1589a3cf1cc2f932209.tar.xz rpm-helper-0fc0ce3e353bba96cb46d1589a3cf1cc2f932209.zip |
don't silent stderr output
Diffstat (limited to 'add-group')
-rwxr-xr-x | add-group | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |