From 875016b54e6b9b36092dfbfb8c773f6b59264454 Mon Sep 17 00:00:00 2001 From: Guillaume Rousse Date: Tue, 31 Mar 2009 13:53:41 +0000 Subject: fix typo introduced by previous release --- add-group | 2 +- add-user | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/add-group b/add-group index 7a27ed5..603466e 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 diff --git a/add-user b/add-user index 894a4d3..6504bbe 100755 --- a/add-user +++ b/add-user @@ -21,7 +21,7 @@ name=$3 # name of the user dir=$4 # home directory shell=$5 # shell -if ! getent passwd $name > /dev/null 2> &1; then +if ! getent passwd $name > /dev/null 2>&1; then /usr/sbin/useradd -r -M \ -s $shell -d $dir -c "system user for $pkg" $name > /dev/null fi -- cgit v1.2.1