aboutsummaryrefslogtreecommitdiffstats
path: root/add-group
diff options
context:
space:
mode:
authorGuillaume Rousse <guillomovitch@mandriva.org>2009-03-30 18:28:02 +0000
committerGuillaume Rousse <guillomovitch@mandriva.org>2009-03-30 18:28:02 +0000
commit842ebc3247c88cd4fe6b70f7717e9bbc4c42e471 (patch)
tree5e9ba4663decd554cc8e17468c8f874283e6e5c3 /add-group
parentf62560eb0e8112f1f5dbf39b2f481ca10a71d78c (diff)
downloadrpm-helper-842ebc3247c88cd4fe6b70f7717e9bbc4c42e471.tar
rpm-helper-842ebc3247c88cd4fe6b70f7717e9bbc4c42e471.tar.gz
rpm-helper-842ebc3247c88cd4fe6b70f7717e9bbc4c42e471.tar.bz2
rpm-helper-842ebc3247c88cd4fe6b70f7717e9bbc4c42e471.tar.xz
rpm-helper-842ebc3247c88cd4fe6b70f7717e9bbc4c42e471.zip
fix typos in conditionals
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 ea9e920..7a27ed5 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
-if ! getent group $name /dev/null 2>&1; then
+if ! getent group $name > /dev/null 2> &1; then
/usr/sbin/groupadd -r $name > /dev/null
if [ -n "$users" ]; then